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

Unified Diff: tests/compiler/dart2js/simple_inferrer_global_field_closure_test.dart

Issue 147353010: Infer types for compile-time constant closures. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update status file and one more test. Created 6 years, 10 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
« no previous file with comments | « tests/compiler/dart2js/simple_inferrer_global_field_closure2_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « tests/compiler/dart2js/simple_inferrer_global_field_closure2_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698