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 typedef F = () → core::int; | 5 typedef F = () → core::int; |
6 abstract class A extends core::Object { | 6 abstract class A extends core::Object { |
7 constructor •() → void | 7 default constructor •() → void |
8 : super core::Object::•() | 8 : super core::Object::•() |
9 ; | 9 ; |
10 abstract method x(() → core::int value) → void; | 10 abstract method x(() → core::int value) → void; |
11 } | 11 } |
12 abstract class B extends self::A { | 12 abstract class B extends self::A { |
13 constructor •() → void | 13 default constructor •() → void |
14 : super self::A::•() | 14 : super self::A::•() |
15 ; | 15 ; |
16 abstract method x(() → dynamic value) → void; | 16 abstract method x(() → dynamic value) → void; |
17 } | 17 } |
18 static method f<T extends core::Object>() → self::f::T | 18 static method f<T extends core::Object>() → self::f::T |
19 return null; | 19 return null; |
20 static method g(self::B b) → dynamic { | 20 static method g(self::B b) → dynamic { |
21 b.{self::B::x}(self::f<() → dynamic>()); | 21 b.{self::B::x}(self::f<() → dynamic>()); |
22 } | 22 } |
23 static method main() → dynamic {} | 23 static method main() → dynamic {} |
OLD | NEW |