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 constructor •() → self::A | 6 constructor •() → self::A |
7 : invalid-initializer; | 7 : invalid-initializer; |
8 } | 8 } |
9 class B extends core::Object { | 9 class B extends core::Object { |
10 constructor •() → self::B | 10 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 factory •() → self::D | 18 static factory •() → self::D |
19 invalid-statement; | 19 invalid-statement; |
20 } | 20 } |
21 static method main() → void { | 21 static method main() → void { |
22 new self::A::•(); | 22 new self::A::•(); |
23 new self::B::•(); | 23 new self::B::•(); |
24 new self::C::•(); | 24 new self::C::•(); |
25 invalid-expression.call(); | 25 invalid-expression.call(); |
26 } | 26 } |
OLD | NEW |