Index: tests/language/static_field_test.dart |
diff --git a/tests/language/static_field_test.dart b/tests/language/static_field_test.dart |
index 675c9e8a97a40986d3dd20b5edc5b1a6203e095e..b7018fab505d4d708d2ecca9dabdbb36c6d4d441 100644 |
--- a/tests/language/static_field_test.dart |
+++ b/tests/language/static_field_test.dart |
@@ -7,7 +7,7 @@ class First { |
First() {} |
static var a; |
static var b; |
- static final int c = 1; |
+ static const int c = 1; |
static setValues() { |
a = 24; |
b = 10; |
@@ -68,7 +68,7 @@ class StaticField1RunNegativeTest { |
testMain() { |
var foo = new StaticField1RunNegativeTest(); |
print(x); // Used to compile 'x' and force any errors. |
- var result = foo.x; |
+ var result = foo.x; |
} |
} |
@@ -96,7 +96,7 @@ class StaticField2RunNegativeTest { |
class StaticField2aRunNegativeTest { |
static /// 04: static type warning, runtime error |
- void m() {} |
+ void m() {} |
testMain() { |
var foo = new StaticField2aRunNegativeTest(); |