OLD | NEW |
1 library test; | 1 library test; |
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 CallableClass extends core::Object { | 5 class CallableClass extends core::Object { |
6 constructor •() → void | 6 default constructor •() → void |
7 : super core::Object::•() | 7 : super core::Object::•() |
8 ; | 8 ; |
9 method call() → core::int | 9 method call() → core::int |
10 return 0; | 10 return 0; |
11 } | 11 } |
12 class C extends core::Object { | 12 class C extends core::Object { |
13 field dynamic f = new self::CallableClass::•(); | 13 field dynamic f = new self::CallableClass::•(); |
14 constructor •() → void | 14 default constructor •() → void |
15 : super core::Object::•() | 15 : super core::Object::•() |
16 ; | 16 ; |
17 } | 17 } |
18 class D extends self::C { | 18 class D extends self::C { |
19 constructor •() → void | 19 default constructor •() → void |
20 : super self::C::•() | 20 : super self::C::•() |
21 ; | 21 ; |
22 method g() → void { | 22 method g() → void { |
23 dynamic y = super.{self::C::f}.call(); | 23 dynamic y = super.{self::C::f}.call(); |
24 } | 24 } |
25 } | 25 } |
26 static method main() → dynamic {} | 26 static method main() → dynamic {} |
OLD | NEW |