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