OLD | NEW |
| (Empty) |
1 library; | |
2 import self as self; | |
3 import "dart:core" as core; | |
4 | |
5 class A extends core::Object { | |
6 field core::bool v1; | |
7 field core::num v2; | |
8 constructor •(core::bool v1, core::num v2) → void | |
9 : self::A::v1 = v1, self::A::v2 = v2, super core::Object::•() | |
10 ; | |
11 } | |
12 class M1 extends core::Object { | |
13 field core::num v2 = 0; | |
14 constructor •() → void | |
15 : super core::Object::•() | |
16 ; | |
17 } | |
18 class C extends self::A&M1 { | |
19 constructor •(core::bool v1, core::num v2) → void | |
20 : super self::A&M1::•(v1, v2) | |
21 ; | |
22 } | |
23 abstract class A&M1 extends self::A implements self::M1 { | |
24 field core::num v2 = 0; | |
25 constructor •(final core::bool v1, final core::num v2) → void | |
26 : super self::A::•(v1, v2) | |
27 ; | |
28 } | |
29 static method main() → dynamic { | |
30 self::C c = new self::C::•(true, 2); | |
31 } | |
OLD | NEW |