OLD | NEW |
1 library test; | 1 library test; |
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 B extends core::Object { | 5 class B extends core::Object { |
6 constructor •() → void | 6 default constructor •() → void |
7 : super core::Object::•() | 7 : super core::Object::•() |
8 ; | 8 ; |
9 method f() → void {} | 9 method f() → void {} |
10 } | 10 } |
11 class C extends self::B { | 11 class C extends self::B { |
12 constructor •() → void | 12 default constructor •() → void |
13 : super self::B::•() | 13 : super self::B::•() |
14 ; | 14 ; |
15 method f() → void {} | 15 method f() → void {} |
16 } | 16 } |
17 static field void x = new self::C::•().{self::C::f}(); | 17 static field void x = new self::C::•().{self::C::f}(); |
18 static method main() → dynamic { | 18 static method main() → dynamic { |
19 self::x; | 19 self::x; |
20 } | 20 } |
OLD | NEW |