| Index: tests/language/static_field_test.dart
|
| diff --git a/tests/language/static_field_test.dart b/tests/language/static_field_test.dart
|
| index bcf498e086d4e81520d5b21778bf52b4c4b5c2b7..ae2459625000b6e1a80e8952f7c0de537f746a78 100644
|
| --- a/tests/language/static_field_test.dart
|
| +++ b/tests/language/static_field_test.dart
|
| @@ -17,6 +17,7 @@ class First {
|
| }
|
| }
|
|
|
| +
|
| class InitializerTest {
|
| static var one;
|
| static var two = 2;
|
| @@ -43,6 +44,7 @@ class InitializerTest {
|
| }
|
| }
|
|
|
| +
|
| class StaticFieldTest {
|
| static testMain() {
|
| First.a = 3;
|
| @@ -61,9 +63,10 @@ class StaticFieldTest {
|
| }
|
| }
|
|
|
| +
|
| class StaticField1RunNegativeTest {
|
| static // //# 01: static type warning, runtime error
|
| - var x;
|
| + var x;
|
| testMain() {
|
| var foo = new StaticField1RunNegativeTest();
|
| print(x); // Used to compile 'x' and force any errors.
|
| @@ -73,7 +76,7 @@ class StaticField1RunNegativeTest {
|
|
|
| class StaticField1aRunNegativeTest {
|
| static // //# 02: static type warning, runtime error
|
| - void m() {}
|
| + void m() {}
|
|
|
| testMain() {
|
| var foo = new StaticField1aRunNegativeTest();
|
| @@ -84,7 +87,7 @@ class StaticField1aRunNegativeTest {
|
|
|
| class StaticField2RunNegativeTest {
|
| static //# 03: static type warning, runtime error
|
| - var x;
|
| + var x;
|
|
|
| testMain() {
|
| var foo = new StaticField2RunNegativeTest();
|
| @@ -95,7 +98,7 @@ class StaticField2RunNegativeTest {
|
|
|
| class StaticField2aRunNegativeTest {
|
| static // //# 04: static type warning, runtime error
|
| - void m() {}
|
| + void m() {}
|
|
|
| testMain() {
|
| var foo = new StaticField2aRunNegativeTest();
|
|
|