OLD | NEW |
1 library; | 1 library; |
2 import self as self; | 2 import self as self; |
3 | 3 |
4 const field dynamic #errors = const <dynamic>["pkg/front_end/testcases/regress/i
ssue_29978.dart:8:13: Error: A function expression can't have a name.\n foo(nul
l, f() {});\n ^"]/* from null */; | 4 const field dynamic #errors = const <dynamic>["pkg/front_end/testcases/regress/i
ssue_29978.dart:8:13: Error: A function expression can't have a name.\n foo(nul
l, f() {});\n ^"]/* from null */; |
5 static method foo(dynamic a, dynamic b) → dynamic | 5 static method foo(dynamic a, dynamic b) → dynamic |
6 return null; | 6 return null; |
7 static method main() → dynamic { | 7 static method main() → dynamic { |
8 self::foo(null, let final dynamic f = () → dynamic {} in f); | 8 self::foo(null, let final () → dynamic f = () → dynamic {} in f); |
9 } | 9 } |
OLD | NEW |