OLD | NEW |
(Empty) | |
| 1 library test; |
| 2 import self as self; |
| 3 import "dart:core" as core; |
| 4 |
| 5 class I1 extends core::Object { |
| 6 field core::int x = null; |
| 7 default constructor •() → void |
| 8 : super core::Object::•() |
| 9 ; |
| 10 } |
| 11 class I2 extends core::Object { |
| 12 field core::int y = null; |
| 13 default constructor •() → void |
| 14 : super core::Object::•() |
| 15 ; |
| 16 } |
| 17 class I3 extends core::Object implements self::I1, self::I2 { |
| 18 field core::int x = null; |
| 19 field core::int y = null; |
| 20 default constructor •() → void |
| 21 : super core::Object::•() |
| 22 ; |
| 23 } |
| 24 class A extends core::Object { |
| 25 final field self::I1 a = null; |
| 26 default constructor •() → void |
| 27 : super core::Object::•() |
| 28 ; |
| 29 } |
| 30 class B extends core::Object { |
| 31 final field self::I2 a = null; |
| 32 default constructor •() → void |
| 33 : super core::Object::•() |
| 34 ; |
| 35 } |
| 36 class C1 extends core::Object implements self::A, self::B { |
| 37 default constructor •() → void |
| 38 : super core::Object::•() |
| 39 ; |
| 40 get a() → self::I3 |
| 41 return null; |
| 42 } |
| 43 class C2 extends core::Object implements self::A, self::B { |
| 44 default constructor •() → void |
| 45 : super core::Object::•() |
| 46 ; |
| 47 get a() → dynamic |
| 48 return null; |
| 49 } |
| 50 static method main() → dynamic {} |
OLD | NEW |