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

Unified Diff: tests/compiler/dart2js_extra/field_initializer_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_extra/field_initializer_test.dart
===================================================================
--- tests/compiler/dart2js_extra/field_initializer_test.dart (revision 11349)
+++ tests/compiler/dart2js_extra/field_initializer_test.dart (working copy)
@@ -5,21 +5,21 @@
class A {
static var a;
static var b = c;
- static final var c = 499;
- static final var d = c;
- static final var e = d;
- static final var f = B.g;
- static final var h = true;
- static final var i = false;
- static final var j = n;
- static final var k = 4.99;
- static final var l;
- static final var m = l;
- static final var n = 42;
+ static const var c = 499;
+ static const var d = c;
+ static const var e = d;
+ static const var f = B.g;
+ static const var h = true;
+ static const var i = false;
+ static const var j = n;
+ static const var k = 4.99;
+ static const var l;
+ static const var m = l;
+ static const var n = 42;
}
class B {
- static final var g = A.c;
+ static const var g = A.c;
}
testInitialValues() {
« no previous file with comments | « tests/compiler/dart2js_extra/compile_time_constant4_test.dart ('k') | tests/compiler/dart2js_extra/naming_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698