OLD | NEW |
1 library test.mixin_library; | 1 library test.mixin_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<T extends core::Object> extends core::Object { | 5 class Mixin<T extends core::Object> extends core::Object { |
6 field dynamic x = self::f(); | 6 field dynamic x = self::f(); |
7 field dynamic y = null; | 7 field dynamic y = null; |
8 field dynamic z = null; | 8 field dynamic z = null; |
9 field self::Mixin::T t = null; | 9 field self::Mixin::T t = null; |
10 constructor •() → void | 10 default constructor •() → void |
11 : super core::Object::•() | 11 : super core::Object::•() |
12 ; | 12 ; |
13 method foo() → dynamic | 13 method foo() → dynamic |
14 return super.foo().+(self::f()); | 14 return super.foo().+(self::f()); |
15 method g(self::Mixin::T a) → self::Mixin::T | 15 method g(self::Mixin::T a) → self::Mixin::T |
16 return null; | 16 return null; |
17 method h() → dynamic | 17 method h() → dynamic |
18 return self::V(); | 18 return self::V(); |
19 method l() → dynamic | 19 method l() → dynamic |
20 return self::_private(); | 20 return self::_private(); |
21 method _privateMethod() → dynamic | 21 method _privateMethod() → dynamic |
22 return 49; | 22 return 49; |
23 method publicMethod() → dynamic | 23 method publicMethod() → dynamic |
24 return this.{self::Mixin::_privateMethod}(); | 24 return this.{self::Mixin::_privateMethod}(); |
25 } | 25 } |
26 static method f() → dynamic | 26 static method f() → dynamic |
27 return 2; | 27 return 2; |
28 static method V() → dynamic | 28 static method V() → dynamic |
29 return 87; | 29 return 87; |
30 static method _private() → dynamic | 30 static method _private() → dynamic |
31 return 117; | 31 return 117; |
32 static method foo(dynamic m) → dynamic | 32 static method foo(dynamic m) → dynamic |
33 return m._privateMethod(); | 33 return m._privateMethod(); |
OLD | NEW |