Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1245)

Unified Diff: tests/language/src/FunctionTest.dart

Issue 9288021: Issue 1287. Allow to invoke function literal. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: More tests, check for function name. Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tests/language/src/FunctionTest.dart
diff --git a/tests/language/src/FunctionTest.dart b/tests/language/src/FunctionTest.dart
index b832e1e1263b55b434a94979b0a38e483305d897..6f14666aa4c39f2af4f516083ad2d06e61d54f1b 100644
--- a/tests/language/src/FunctionTest.dart
+++ b/tests/language/src/FunctionTest.dart
@@ -304,7 +304,7 @@ class FunctionTest {
}
void testEscapingFunctions() {
- f() { return 42; }
+ f() { return 42; };
(() { Expect.equals(42, f()); })();
var o = new Bug4089219(42);
Expect.equals(42, (o.f)());

Powered by Google App Engine
This is Rietveld 408576698