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 Foo extends core::Object { | 5 class Foo extends core::Object { |
6 constructor •() → dynamic | 6 constructor •() → dynamic |
7 : super core::Object::•() | 7 : super core::Object::•() |
8 invalid-statement; | 8 invalid-statement; |
9 } | 9 } |
10 class Bar extends self::Foo { | 10 class Bar extends self::Foo { |
11 static factory •() → self::Bar | 11 static factory •() → self::Bar |
12 return null; | 12 return null; |
13 } | 13 } |
14 static method main() → dynamic { | 14 static method main() → dynamic { |
15 new self::Foo::•(); | 15 new self::Foo::•(); |
16 } | 16 } |
OLD | NEW |