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

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

Issue 10871071: - Change "static final" to "static const" in the tests/ directory. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 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/closure_codegen_test.dart ('k') | tests/compiler/dart2js/constant_folding_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/code_motion_test.dart
===================================================================
--- tests/compiler/dart2js/code_motion_test.dart (revision 11349)
+++ tests/compiler/dart2js/code_motion_test.dart (working copy)
@@ -4,7 +4,7 @@
#import("compiler_helper.dart");
-final String TEST_ONE = @"""
+const String TEST_ONE = @"""
foo(int param0, int param1, bool param2) {
for (int i = 0; i < 1; i++) {
var x = param0 + 5; // '+' is now GVNed.
« no previous file with comments | « tests/compiler/dart2js/closure_codegen_test.dart ('k') | tests/compiler/dart2js/constant_folding_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698