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 self::B b = null; | 6 field self::B b = null; |
7 constructor •() → void | 7 default constructor •() → void |
8 : super core::Object::•() | 8 : super core::Object::•() |
9 ; | 9 ; |
10 } | 10 } |
11 class B extends core::Object { | 11 class B extends core::Object { |
12 constructor •() → void | 12 default constructor •() → void |
13 : super core::Object::•() | 13 : super core::Object::•() |
14 ; | 14 ; |
15 get c() → self::C | 15 get c() → self::C |
16 return null; | 16 return null; |
17 set c(self::C value) → void {} | 17 set c(self::C value) → void {} |
18 } | 18 } |
19 class C extends core::Object { | 19 class C extends core::Object { |
20 constructor •() → void | 20 default constructor •() → void |
21 : super core::Object::•() | 21 : super core::Object::•() |
22 ; | 22 ; |
23 } | 23 } |
24 class D extends self::C { | 24 class D extends self::C { |
25 constructor •() → void | 25 default constructor •() → void |
26 : super self::C::•() | 26 : super self::C::•() |
27 ; | 27 ; |
28 } | 28 } |
29 static field self::A a = new self::A::•(); | 29 static field self::A a = new self::A::•(); |
30 static field self::C x = self::a.{self::A::b}.{self::B::c}; | 30 static field self::C x = self::a.{self::A::b}.{self::B::c}; |
31 static field self::C y = let final dynamic #t1 = self::a.{self::A::b} in let fin
al dynamic #t2 = #t1.{self::B::c} in #t2.{core::Object::==}(null) ? #t1.{self::B
::c} = new self::D::•() : #t2; | 31 static field self::C y = let final dynamic #t1 = self::a.{self::A::b} in let fin
al dynamic #t2 = #t1.{self::B::c} in #t2.{core::Object::==}(null) ? #t1.{self::B
::c} = new self::D::•() : #t2; |
32 static method main() → dynamic {} | 32 static method main() → dynamic {} |
OLD | NEW |