Index: tests/language/function_literals2_test.dart |
=================================================================== |
--- tests/language/function_literals2_test.dart (revision 14804) |
+++ tests/language/function_literals2_test.dart (working copy) |
@@ -19,7 +19,7 @@ |
h(42); // make sure it is parsed as a function call |
Expect.equals(20, h(10)); |
- var a = int _(x) {return x + 2;}; |
+ var a = (x) {return x + 2;}; |
Expect.equals(7, a(5)); |
Expect.equals(10, apply((k) { return k << 1;}, 5)); |