OLD | NEW |
| (Empty) |
1 library test; | |
2 import self as self; | |
3 import "dart:core" as core; | |
4 import "dart:async" as asy; | |
5 | |
6 abstract class MyStream<T extends core::Object> extends asy::Stream<self::MyStre
am::T> { | |
7 static factory •<T extends core::Object>() → dynamic | |
8 return null; | |
9 } | |
10 static method foo() → asy::Stream<core::List<core::int>> { | |
11 yield<dynamic>[]; | |
12 yield throw new core::NoSuchMethodError::•(null, #MyStream, <dynamic>[], <dyna
mic, dynamic>{}, null); | |
13 yield*<dynamic>[]; | |
14 yield* throw new core::NoSuchMethodError::•(null, #MyStream, <dynamic>[], <dyn
amic, dynamic>{}, null); | |
15 } | |
16 static method bar() → core::Iterable<core::Map<core::int, core::int>> { | |
17 yield<dynamic, dynamic>{}; | |
18 yield throw new core::NoSuchMethodError::•(null, #List, <dynamic>[], <dynamic,
dynamic>{}, null); | |
19 yield*<dynamic, dynamic>{}; | |
20 yield* throw new core::NoSuchMethodError::•(null, #List, <dynamic>[], <dynamic
, dynamic>{}, null); | |
21 } | |
OLD | NEW |