OLD | NEW |
(Empty) | |
| 1 library test; |
| 2 import self as self; |
| 3 import "dart:core" as core; |
| 4 |
| 5 class A extends core::Object { |
| 6 field self::B b = null; |
| 7 constructor •() → void |
| 8 : super core::Object::•() |
| 9 ; |
| 10 } |
| 11 class B extends core::Object { |
| 12 field self::C c = null; |
| 13 constructor •() → void |
| 14 : super core::Object::•() |
| 15 ; |
| 16 } |
| 17 class C extends core::Object { |
| 18 constructor •() → void |
| 19 : super core::Object::•() |
| 20 ; |
| 21 } |
| 22 class D extends self::C { |
| 23 constructor •() → void |
| 24 : super self::C::•() |
| 25 ; |
| 26 } |
| 27 static field self::A a = new self::A::•(); |
| 28 static field self::C x = self::a.{self::A::b}.{self::B::c}; |
| 29 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; |
| 30 static method main() → dynamic {} |
OLD | NEW |