OLD | NEW |
| (Empty) |
1 library; | |
2 import self as self; | |
3 import "dart:core" as core; | |
4 | |
5 class A extends core::Object { | |
6 constructor •() → self::A | |
7 : invalid-initializer; | |
8 } | |
9 class B extends core::Object { | |
10 constructor •() → self::B | |
11 : invalid-initializer; | |
12 } | |
13 class C extends core::Object { | |
14 constructor •() → dynamic | |
15 : invalid-initializer; | |
16 } | |
17 class D extends core::Object { | |
18 static factory •() → self::D | |
19 invalid-statement; | |
20 } | |
21 static method main() → void { | |
22 new self::A::•(); | |
23 new self::B::•(); | |
24 new self::C::•(); | |
25 invalid-expression.call(); | |
26 } | |
OLD | NEW |