OLD | NEW |
(Empty) | |
| 1 library test; |
| 2 import self as self; |
| 3 import "dart:core" as core; |
| 4 |
| 5 class C extends core::Object { |
| 6 constructor expressionOnly() → void |
| 7 : final dynamic #t1 = () → dynamic |
| 8 assert(self::f<dynamic>()); |
| 9 .call(), super core::Object::•() |
| 10 ; |
| 11 constructor expressionAndMessage() → void |
| 12 : final dynamic #t2 = () → dynamic |
| 13 assert(self::f<dynamic>(), self::f<dynamic>()); |
| 14 .call(), super core::Object::•() |
| 15 ; |
| 16 } |
| 17 static method f<T extends core::Object>() → self::f::T |
| 18 return null; |
| 19 static method main() → dynamic { |
| 20 assert(self::f<dynamic>()); |
| 21 assert(self::f<dynamic>(), self::f<dynamic>()); |
| 22 } |
OLD | NEW |