| Index: tests/language/src/FieldOverrideTest.dart
|
| diff --git a/tests/language/src/FieldOverrideTest.dart b/tests/language/src/FieldOverrideTest.dart
|
| index 41394930423803e5a54856d4875fd723d099464e..15e561b03d612559569e41820cd9741e4253b754 100644
|
| --- a/tests/language/src/FieldOverrideTest.dart
|
| +++ b/tests/language/src/FieldOverrideTest.dart
|
| @@ -1,7 +1,6 @@
|
| -// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
| -// VMOptions=--enable_type_checks
|
| // Test overriding of fields.
|
|
|
|
|
| @@ -30,8 +29,8 @@ class SubSub extends Super {
|
|
|
| main() {
|
| SubSub val1 = new SubSub();
|
| - val1.field = new B2();
|
| - Expect.equals(true, val1.field is B2);
|
| + val1.field = new B2(); /// 02: static type warning
|
| + Expect.equals(true, val1.field is B2); /// 02: continued
|
|
|
| Sub val2 = new Sub();
|
| val2.field = new A();
|
|
|