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

Unified Diff: tests/compiler/dart2js/pretty_parameter_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
Index: tests/compiler/dart2js/pretty_parameter_test.dart
===================================================================
--- tests/compiler/dart2js/pretty_parameter_test.dart (revision 11349)
+++ tests/compiler/dart2js/pretty_parameter_test.dart (working copy)
@@ -5,19 +5,19 @@
#import("compiler_helper.dart");
-final String FOO = @"""
+const String FOO = @"""
void foo(var a, var b) {
}
""";
-final String BAR = @"""
+const String BAR = @"""
void bar(var eval, var $eval) {
}
""";
-final String PARAMETER_AND_TEMP = @"""
+const String PARAMETER_AND_TEMP = @"""
void bar(var t0, var b) {
{
var t0 = 2;
@@ -32,7 +32,7 @@
}
""";
-final String NO_LOCAL = @"""
+const String NO_LOCAL = @"""
foo(bar, baz) {
if (bar) {
baz = 2;
@@ -43,7 +43,7 @@
}
""";
-final String MULTIPLE_PHIS_ONE_LOCAL = @"""
+const String MULTIPLE_PHIS_ONE_LOCAL = @"""
foo(param1, param2, param3) {
var a = 2;
if (param1) {
@@ -57,7 +57,7 @@
}
""";
-final String PARAMETER_INIT = @"""
+const String PARAMETER_INIT = @"""
int foo(var start, bool test) {
var result = start;
if (test) {
« no previous file with comments | « tests/compiler/dart2js/parameter_phi_elimination_test.dart ('k') | tests/compiler/dart2js/redundant_phi_eliminator_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698