Index: tests/language/async_await_syntax_test.dart |
diff --git a/tests/language/async_await_syntax_test.dart b/tests/language/async_await_syntax_test.dart |
index 5b859d49ed2c793f075814d976ba6dda39c61cf6..ea746368de0deeb6b2e8397fa7e4d7eb3bd762ed 100644 |
--- a/tests/language/async_await_syntax_test.dart |
+++ b/tests/language/async_await_syntax_test.dart |
@@ -168,10 +168,10 @@ method2() { |
var d06a = () async { await for (var o in st) {} }; d06a(); /// d06a: ok |
var d07a = () sync* { yield 0; }; d07a(); /// d07a: ok |
var d08a = () sync* { yield* []; }; d08a(); /// d08a: ok |
- var d08b = () sync* { yield*0+1; }; d08b(); /// d08b: ok |
+ var d08b = () sync* { yield*0+1; }; d08b(); /// d08b: static type warning |
var d08c = () { yield*0+1; }; d08c(); /// d08c: ok |
var d09a = () async* { yield 0; }; d09a(); /// d09a: ok |
- var d10a = () async* { yield* []; }; d10a(); /// d10a: ok |
+ var d10a = () async* { yield* []; }; d10a(); /// d10a: static type warning |
} |