mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 03:36:59 +00:00
1a832455e6
Change-Id: I4fc4bc583f6fe25a0a083efc6b9cda5ef9ae5ceb Reviewed-on: https://dart-review.googlesource.com/66521 Commit-Queue: Leaf Petersen <leafp@google.com> Reviewed-by: Erik Ernst <eernst@google.com>
17 lines
405 B
Dart
17 lines
405 B
Dart
// Copyright (c) 2018, the Dart project authors. Please see the AUTHORS file
|
|
// for details. All rights reserved. Use of this source code is governed by a
|
|
// BSD-style license that can be found in the LICENSE file.
|
|
|
|
import 'dart:async';
|
|
|
|
/*
|
|
* `return;` is an error if `T` is not `void`, `dynamic`, or `Null`
|
|
*/
|
|
Future<Object> test() {
|
|
return; //# none: static type warning
|
|
}
|
|
|
|
void main() {
|
|
test();
|
|
}
|