OLD | NEW |
(Empty) | |
| 1 library test; |
| 2 import self as self; |
| 3 import "dart:core" as core; |
| 4 |
| 5 typedef F = () → core::int; |
| 6 abstract class A extends core::Object { |
| 7 constructor •() → void |
| 8 : super core::Object::•() |
| 9 ; |
| 10 abstract set x(() → core::int value) → void; |
| 11 } |
| 12 abstract class B extends self::A { |
| 13 constructor •() → void |
| 14 : super self::A::•() |
| 15 ; |
| 16 abstract set x(() → dynamic value) → void; |
| 17 } |
| 18 static method f<T extends core::Object>() → self::f::T |
| 19 return null; |
| 20 static method g(self::B b) → dynamic { |
| 21 b.x = self::f<dynamic>(); |
| 22 } |
| 23 static method main() → dynamic {} |
OLD | NEW |