OLD | NEW |
| (Empty) |
1 library; | |
2 import self as self; | |
3 import "dart:core" as core; | |
4 | |
5 class Base extends core::Object { | |
6 constructor •() → void | |
7 : super core::Object::•() | |
8 ; | |
9 } | |
10 class Mixin extends core::Object { | |
11 constructor •() → void | |
12 : super core::Object::•() | |
13 ; | |
14 method foo() → dynamic | |
15 return core::print("foo"); | |
16 } | |
17 class Sub extends self::Base&Mixin { | |
18 constructor •() → void | |
19 : super self::Base&Mixin::•() | |
20 ; | |
21 } | |
22 abstract class Base&Mixin extends self::Base implements self::Mixin { | |
23 constructor •() → void | |
24 : super self::Base::•() | |
25 ; | |
26 method foo() → dynamic | |
27 return core::print("foo"); | |
28 } | |
29 static method main() → dynamic { | |
30 new self::Sub::•().foo(); | |
31 } | |
OLD | NEW |