| Index: tests/language/bad_override_test.dart
|
| ===================================================================
|
| --- tests/language/bad_override_test.dart (revision 14584)
|
| +++ tests/language/bad_override_test.dart (working copy)
|
| @@ -3,12 +3,6 @@
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| class Fisk {
|
| - get fisk => null;
|
| - static /// 01: compile-time error
|
| - set fisk(x) {}
|
| - static /// 02: compile-time error
|
| - get hest => null;
|
| - set hest(x) {}
|
| foo() {}
|
| var field;
|
| method() {}
|
| @@ -16,10 +10,10 @@
|
| }
|
|
|
| class Hest extends Fisk {
|
| - static foo() {} /// 03: compile-time error
|
| - field() {} /// 04: compile-time error
|
| - var method; /// 05: compile-time error
|
| - nullary(x) {} /// 06: compile-time error
|
| + static foo() {} /// 03: compile-time error
|
| + field() {} /// 04: compile-time error
|
| + var method; /// 05: compile-time error
|
| + nullary(x) {} /// 06: compile-time error
|
| }
|
|
|
| main() {
|
|
|