OLD | NEW |
1 library; | 1 library; |
2 import self as self; | 2 import self as self; |
3 import "dart:core" as core; | 3 import "dart:core" as core; |
4 | 4 |
5 class A extends core::Object { | 5 class A extends core::Object { |
6 default constructor •() → self::A | 6 default constructor •() → self::A |
7 : invalid-initializer; | 7 : invalid-initializer; |
8 } | 8 } |
9 class B extends core::Object { | 9 class B extends core::Object { |
10 default constructor •() → self::B | 10 default constructor •() → self::B |
11 : invalid-initializer; | 11 : invalid-initializer; |
12 } | 12 } |
13 class C extends core::Object { | 13 class C extends core::Object { |
14 constructor •() → dynamic | 14 constructor •() → dynamic |
15 : invalid-initializer; | 15 : invalid-initializer; |
16 } | 16 } |
17 class D extends core::Object { | 17 class D extends core::Object { |
| 18 static field dynamic _redirecting# = <dynamic>[self::D::•]; |
18 static factory •() → self::D | 19 static factory •() → self::D |
19 invalid-statement; | 20 let dynamic #redirecting_factory = "Missing" in invalid-expression; |
20 } | 21 } |
21 static method main() → void { | 22 static method main() → void { |
22 new self::A::•(); | 23 new self::A::•(); |
23 new self::B::•(); | 24 new self::B::•(); |
24 new self::C::•(); | 25 new self::C::•(); |
25 invalid-expression.call(); | 26 throw new core::NoSuchMethodError::_withType(null, #Missing, 32, <dynamic>[].t
oList(growable: false), <dynamic, dynamic>{}, null); |
26 } | 27 } |
OLD | NEW |