Index: tests/language/implicit_closure_test.dart |
diff --git a/tests/language/implicit_closure_test.dart b/tests/language/implicit_closure_test.dart |
index b5f8b8b6b95139b0d466df0552ba140e1055c3d7..a9ea617a6db9b22dc8dd9d4ba4933a55598baece 100644 |
--- a/tests/language/implicit_closure_test.dart |
+++ b/tests/language/implicit_closure_test.dart |
@@ -10,13 +10,18 @@ import "package:expect/expect.dart"; |
class First { |
First(this.i) {} |
var b; |
- int foo() { return i; } |
+ int foo() { |
+ return i; |
+ } |
+ |
Function foo1() { |
local() { |
return i; |
} |
+ |
return local; |
} |
+ |
int i; |
} |
@@ -36,7 +41,6 @@ class ImplicitClosureTest { |
} |
} |
- |
main() { |
ImplicitClosureTest.testMain(); |
} |