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

Unified Diff: tests/compiler/dart2js/constant_folding_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/code_motion_test.dart ('k') | tests/compiler/dart2js/dead_phi_eliminator_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/constant_folding_test.dart
===================================================================
--- tests/compiler/dart2js/constant_folding_test.dart (revision 11349)
+++ tests/compiler/dart2js/constant_folding_test.dart (working copy)
@@ -5,7 +5,7 @@
#import("compiler_helper.dart");
-final String NUMBER_FOLDING = """
+const String NUMBER_FOLDING = """
void main() {
var a = 4;
var b = 3;
@@ -13,7 +13,7 @@
}
""";
-final String NEGATIVE_NUMBER_FOLDING = """
+const String NEGATIVE_NUMBER_FOLDING = """
void main() {
var a = 4;
var b = -3;
@@ -21,7 +21,7 @@
}
""";
-final String NULL_EQUALS_FOLDING = """
+const String NULL_EQUALS_FOLDING = """
foo(a, b, c, d) {
if (a == null) return 1;
if (null == b) return 2;
« no previous file with comments | « tests/compiler/dart2js/code_motion_test.dart ('k') | tests/compiler/dart2js/dead_phi_eliminator_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698