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