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 I1 extends core::Object { | 5 class I1 extends core::Object { |
6 field core::int x = null; | 6 field core::int x = null; |
7 constructor •() → void | 7 default constructor •() → void |
8 : super core::Object::•() | 8 : super core::Object::•() |
9 ; | 9 ; |
10 } | 10 } |
11 class I2 extends self::I1 { | 11 class I2 extends self::I1 { |
12 field core::int y = null; | 12 field core::int y = null; |
13 constructor •() → void | 13 default constructor •() → void |
14 : super self::I1::•() | 14 : super self::I1::•() |
15 ; | 15 ; |
16 } | 16 } |
17 class A extends core::Object { | 17 class A extends core::Object { |
18 final field self::I1 a = null; | 18 final field self::I1 a = null; |
19 constructor •() → void | 19 default constructor •() → void |
20 : super core::Object::•() | 20 : super core::Object::•() |
21 ; | 21 ; |
22 } | 22 } |
23 class B extends core::Object { | 23 class B extends core::Object { |
24 final field self::I2 a = null; | 24 final field self::I2 a = null; |
25 constructor •() → void | 25 default constructor •() → void |
26 : super core::Object::•() | 26 : super core::Object::•() |
27 ; | 27 ; |
28 } | 28 } |
29 class C1 extends core::Object implements self::A, self::B { | 29 class C1 extends core::Object implements self::A, self::B { |
30 constructor •() → void | 30 default constructor •() → void |
31 : super core::Object::•() | 31 : super core::Object::•() |
32 ; | 32 ; |
33 get a() → dynamic | 33 get a() → dynamic |
34 return null; | 34 return null; |
35 } | 35 } |
36 class C2 extends core::Object implements self::B, self::A { | 36 class C2 extends core::Object implements self::B, self::A { |
37 constructor •() → void | 37 default constructor •() → void |
38 : super core::Object::•() | 38 : super core::Object::•() |
39 ; | 39 ; |
40 get a() → dynamic | 40 get a() → dynamic |
41 return null; | 41 return null; |
42 } | 42 } |
43 static method main() → dynamic {} | 43 static method main() → dynamic {} |
OLD | NEW |