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 Mixin extends core::Object { | 5 class Mixin extends core::Object { |
6 field dynamic field = null; | 6 field dynamic field = null; |
7 constructor •() → void | 7 constructor •() → void |
8 : super core::Object::•() | 8 : super core::Object::•() |
9 ; | 9 ; |
10 method foo() → dynamic | 10 method foo() → dynamic |
(...skipping 14 matching lines...) Expand all Loading... |
25 : super core::Object::•() | 25 : super core::Object::•() |
26 ; | 26 ; |
27 method foo() → dynamic | 27 method foo() → dynamic |
28 return 87; | 28 return 87; |
29 } | 29 } |
30 static method main() → dynamic { | 30 static method main() → dynamic { |
31 dynamic f = new self::Foo::•(); | 31 dynamic f = new self::Foo::•(); |
32 f.field = 42; | 32 f.field = 42; |
33 core::print(f.bar()); | 33 core::print(f.bar()); |
34 } | 34 } |
OLD | NEW |