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 A extends core::Object { | 5 class A extends core::Object { |
6 field core::int f = null; | 6 field core::int f = null; |
7 constructor •() → void | 7 constructor •() → void |
8 : super core::Object::•() | 8 : super core::Object::•() |
9 ; | 9 ; |
10 } | 10 } |
11 static field self::A a = new self::A::•(); | 11 static field self::A a = new self::A::•(); |
12 static field dynamic b = self::a.{self::A::f} = 1; | |
13 static field core::int c = 0; | 12 static field core::int c = 0; |
14 static method main() → dynamic { | 13 static method main() → dynamic { |
15 self::a; | 14 self::a; |
16 self::b; | |
17 self::c; | 15 self::c; |
18 } | 16 } |
OLD | NEW |