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