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