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

Unified Diff: dart/tests/compiler/dart2js_extra/field_initializer_test.dart

Issue 23876002: Update syntax and disable dart2js_foreign. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 3 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 | « no previous file | dart/tests/compiler/dart2js_foreign/dart2js_foreign.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/tests/compiler/dart2js_extra/field_initializer_test.dart
diff --git a/dart/tests/compiler/dart2js_extra/field_initializer_test.dart b/dart/tests/compiler/dart2js_extra/field_initializer_test.dart
index 43dbe3ac9c41933a1b02ba7bcb3c640e83184201..cb4a34b141efa84a5530381e8ea8baece518df9f 100644
--- a/dart/tests/compiler/dart2js_extra/field_initializer_test.dart
+++ b/dart/tests/compiler/dart2js_extra/field_initializer_test.dart
@@ -7,21 +7,21 @@ import "package:expect/expect.dart";
class A {
static var a;
static var b = c;
- 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;
+ static const c = 499;
+ static const d = c;
+ static const e = d;
+ static const f = B.g;
+ static const h = true;
+ static const i = false;
+ static const j = n;
+ static const k = 4.99;
+ static const l;
+ static const m = l;
+ static const n = 42;
}
class B {
- static const var g = A.c;
+ static const g = A.c;
}
testInitialValues() {
« no previous file with comments | « no previous file | dart/tests/compiler/dart2js_foreign/dart2js_foreign.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698