OLD | NEW |
(Empty) | |
| 1 library test; |
| 2 import self as self; |
| 3 import "dart:core" as core; |
| 4 |
| 5 class C<T extends core::Object> extends core::Object { |
| 6 constructor optional(([self::C::T]) → void func) → void |
| 7 : super core::Object::•() {} |
| 8 constructor named(({x: self::C::T}) → void func) → void |
| 9 : super core::Object::•() {} |
| 10 } |
| 11 static method optional_toplevel([dynamic x = const <dynamic>[0]]) → void {} |
| 12 static method named_toplevel({dynamic x = const <dynamic>[0]}) → void {} |
| 13 static method main() → dynamic { |
| 14 function optional_local([dynamic x = const <dynamic>[0]]) → void {} |
| 15 function named_local({dynamic x = const <dynamic>[0]}) → void {} |
| 16 dynamic c_optional_toplevel = new self::C::optional<dynamic>(self::optional_to
plevel); |
| 17 dynamic c_named_toplevel = new self::C::named<dynamic>(self::named_toplevel); |
| 18 dynamic c_optional_local = new self::C::optional<dynamic>(optional_local); |
| 19 dynamic c_named_local = new self::C::named<dynamic>(named_local); |
| 20 dynamic c_optional_closure = new self::C::optional<dynamic>(([dynamic x = cons
t <dynamic>[0]]) → dynamic {}); |
| 21 dynamic c_named_closure = new self::C::named<dynamic>(({dynamic x = const <dyn
amic>[0]}) → dynamic {}); |
| 22 } |
OLD | NEW |