| Index: tests/language/async_return_types_test.dart
|
| diff --git a/tests/language/async_return_types_test.dart b/tests/language/async_return_types_test.dart
|
| index 5e1c223fc0f3a47373f842963106edccd4d89424..6cbd7faacd1bcd96169533cf62ad38be2b743dc5 100644
|
| --- a/tests/language/async_return_types_test.dart
|
| +++ b/tests/language/async_return_types_test.dart
|
| @@ -30,7 +30,7 @@ foo5() async {
|
| return 3;
|
| }
|
|
|
| -Future<int> foo6() async {
|
| +Future<int> foo6() async {
|
| // This is fine, the future is flattened
|
| return new Future<int>.value(3);
|
| }
|
| @@ -40,12 +40,13 @@ foo7() async {
|
| return new Future<int>.value(3);
|
| }
|
|
|
| +
|
| Iterable<int> foo8() sync* {
|
| yield 1;
|
| // Can only have valueless return in sync* functions.
|
| return
|
| 8 //# return_value_sync_star: compile-time error
|
| - ;
|
| + ;
|
| }
|
|
|
| Stream<int> foo9() async* {
|
| @@ -53,7 +54,7 @@ Stream<int> foo9() async* {
|
| // Can only have valueless return in async* functions.
|
| return
|
| 8 //# return_value_sync_star: compile-time error
|
| - ;
|
| + ;
|
| }
|
|
|
| test() async {
|
| @@ -70,4 +71,4 @@ test() async {
|
|
|
| main() {
|
| asyncTest(test);
|
| -}
|
| +}
|
|
|