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