OLD | NEW |
(Empty) | |
| 1 library test; |
| 2 import self as self; |
| 3 import "dart:core" as core; |
| 4 |
| 5 typedef F<T extends core::Object> = (T) → dynamic; |
| 6 class C<T extends core::Object> extends core::Object { |
| 7 default constructor •() → void |
| 8 ; |
| 9 method f(self::C::T x) → void |
| 10 ; |
| 11 method g1(self::C::T x) → void |
| 12 ; |
| 13 method g2(self::C::T x) → void |
| 14 ; |
| 15 method g3(self::C<self::C::T> c, self::C::T x) → void |
| 16 ; |
| 17 method g4() → (self::C::T) → dynamic |
| 18 ; |
| 19 } |
| 20 class D extends self::C<core::int> { |
| 21 default constructor •() → void |
| 22 ; |
| 23 } |
| 24 class E extends self::C<core::num> { |
| 25 default constructor •() → void |
| 26 ; |
| 27 method f(core::int x) → void |
| 28 ; |
| 29 } |
| 30 static method test() → dynamic |
| 31 ; |
| 32 static method main() → dynamic |
| 33 ; |
OLD | NEW |