Index: tests/compiler/dart2js/simple_inferrer_global_field_closure_test.dart |
diff --git a/tests/compiler/dart2js/simple_inferrer_const_closure_test.dart b/tests/compiler/dart2js/simple_inferrer_global_field_closure_test.dart |
similarity index 96% |
copy from tests/compiler/dart2js/simple_inferrer_const_closure_test.dart |
copy to tests/compiler/dart2js/simple_inferrer_global_field_closure_test.dart |
index 7b7be1a6da440c65728f34c064aa84760dbc9292..fcfa00c97022e22864b362b51e0232a6558c3074 100644 |
--- a/tests/compiler/dart2js/simple_inferrer_const_closure_test.dart |
+++ b/tests/compiler/dart2js/simple_inferrer_global_field_closure_test.dart |
@@ -16,8 +16,8 @@ method2(a) { // Called only via [foo2] with a small integer. |
return a; |
} |
-const foo1 = method1; |
-const foo2 = method2; |
+var foo1 = method1; |
+var foo2 = method2; |
returnInt1() { |
return foo1(); |