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 •(dynamic x) → dynamic | 6 constructor •(dynamic x) → dynamic |
7 : super core::Object::•() | 7 : super core::Object::•() |
8 ; | 8 ; |
9 } | 9 } |
10 class B extends self::A { | 10 class B extends self::A { |
11 constructor •() → self::B | 11 constructor •() → self::B |
12 : invalid-initializer; | 12 : invalid-initializer; |
13 } | 13 } |
14 static method main() → dynamic { | 14 static method main() → dynamic { |
15 new self::B::•(); | 15 new self::B::•(); |
16 invalid-expression; | 16 invalid-expression; |
17 } | 17 } |
OLD | NEW |