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