| OLD | NEW |
| 1 library; | 1 library; |
| 2 import self as self; | 2 import self as self; |
| 3 import "dart:async" as asy; | 3 import "dart:async" as asy; |
| 4 import "dart:core" as core; | 4 import "dart:core" as core; |
| 5 | 5 |
| 6 static field core::List<core::String> stringList = <dynamic>["bar"]; | 6 static field core::List<core::String> stringList = <dynamic>["bar"]; |
| 7 static method asyncString() → asy::Future<core::String> async { | 7 static method asyncString() → asy::Future<core::String> async { |
| 8 return "foo"; | 8 return "foo"; |
| 9 } | 9 } |
| 10 static method asyncString2() → asy::Future<core::String> async { | 10 static method asyncString2() → asy::Future<core::String> async { |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 yield "foo"; | 22 yield "foo"; |
| 23 yield* self::asyncStarString2(); | 23 yield* self::asyncStarString2(); |
| 24 yield await self::asyncString(); | 24 yield await self::asyncString(); |
| 25 } | 25 } |
| 26 static method asyncStarString2() → asy::Stream<core::String> async* { | 26 static method asyncStarString2() → asy::Stream<core::String> async* { |
| 27 yield "bar"; | 27 yield "bar"; |
| 28 } | 28 } |
| 29 static method main() → dynamic async { | 29 static method main() → dynamic async { |
| 30 core::String str = await self::asyncString(); | 30 core::String str = await self::asyncString(); |
| 31 } | 31 } |
| OLD | NEW |