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

Unified Diff: tests/compiler/dart2js/mock_compiler.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/loop_test.dart ('k') | tests/compiler/dart2js/no_constructor_body_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/mock_compiler.dart
===================================================================
--- tests/compiler/dart2js/mock_compiler.dart (revision 11349)
+++ tests/compiler/dart2js/mock_compiler.dart (working copy)
@@ -22,7 +22,7 @@
toString() => message.toString();
}
-final String DEFAULT_HELPERLIB = @'''
+const String DEFAULT_HELPERLIB = @'''
lt() {} add(var a, var b) {} sub() {} mul() {} div() {} tdiv() {} mod() {}
neg() {} shl() {} shr() {} eq() {} le() {} gt() {} ge() {}
or() {} and() {} not() {} eqNull(a) {} eqq() {}
@@ -40,7 +40,7 @@
interface JavaScriptIndexingBehavior {}
S() {}''';
-final String DEFAULT_INTERCEPTORSLIB = @'''
+const String DEFAULT_INTERCEPTORSLIB = @'''
add$1(receiver, value) {}
get$length(receiver) {}
filter(receiver, predicate) {}
@@ -49,7 +49,7 @@
next(receiver) {}
hasNext(receiver) {}''';
-final String DEFAULT_CORELIB = @'''
+const String DEFAULT_CORELIB = @'''
print(var obj) {}
assert(x) {}
interface int extends num {}
« no previous file with comments | « tests/compiler/dart2js/loop_test.dart ('k') | tests/compiler/dart2js/no_constructor_body_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698