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<T extends core::Object> = () → void; | 5 typedef F<T extends core::Object> = () → void; |
6 class Foo extends core::Object { | 6 class Foo extends core::Object { |
7 const constructor •(core::List<core::String> l) → void | 7 const constructor •(core::List<core::String> l) → void |
8 : super core::Object::•() | 8 : super core::Object::•() |
9 ; | 9 ; |
10 } | 10 } |
11 class C<T extends core::Object> extends core::Object { | 11 class C<T extends core::Object> extends core::Object { |
12 constructor •() → void | 12 default constructor •() → void |
13 : super core::Object::•() | 13 : super core::Object::•() |
14 ; | 14 ; |
15 } | 15 } |
16 class D extends core::Object { | 16 class D extends core::Object { |
17 constructor •() → void | 17 default constructor •() → void |
18 : super core::Object::•() | 18 : super core::Object::•() |
19 ; | 19 ; |
20 method m<T extends core::Object>() → void {} | 20 method m<T extends core::Object>() → void {} |
21 } | 21 } |
22 static method f<T extends core::Object>() → void {} | 22 static method f<T extends core::Object>() → void {} |
23 static method main() → dynamic {} | 23 static method main() → dynamic {} |
OLD | NEW |