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 dynamic b = () → dynamic => self::x; | 6 field dynamic b = () → dynamic => self::x; |
7 field dynamic c = () → dynamic => self::x; | 7 field dynamic c = () → dynamic => self::x; |
8 constructor •() → void | 8 default constructor •() → void |
9 : super core::Object::•() | 9 : super core::Object::•() |
10 ; | 10 ; |
11 } | 11 } |
12 static field dynamic a = new self::A::•(); | 12 static field dynamic a = new self::A::•(); |
13 static field dynamic x = () → dynamic => self::a.b; | 13 static field dynamic x = () → dynamic => self::a.b; |
14 static field dynamic y = () → dynamic => self::a.c; | 14 static field dynamic y = () → dynamic => self::a.c; |
15 static method main() → dynamic {} | 15 static method main() → dynamic {} |
OLD | NEW |