| Index: tests/language/call_nonexistent_static_test.dart
|
| diff --git a/tests/language/call_nonexistent_static_test.dart b/tests/language/call_nonexistent_static_test.dart
|
| index 4eb206a4d1f7b865eff404c4d5e02a0a9fdc299b..beae6f8363d131a9e39842c9cf43bf538279184a 100644
|
| --- a/tests/language/call_nonexistent_static_test.dart
|
| +++ b/tests/language/call_nonexistent_static_test.dart
|
| @@ -7,8 +7,23 @@
|
|
|
| class C {}
|
|
|
| +class D {
|
| + get hest => 1; /// 04: continued
|
| + set hest(val) {} /// 05: continued
|
| +}
|
| +
|
| +get fisk => 2; /// 09: continued
|
| +set fisk(val) {} /// 10: continued
|
| +
|
| main() {
|
| Expect.throws(() => C.hest = 1, (e) => e is NoSuchMethodError); /// 01: static type warning
|
| Expect.throws(() => C.hest, (e) => e is NoSuchMethodError); /// 02: static type warning
|
| Expect.throws(() => C.hest(), (e) => e is NoSuchMethodError); /// 03: static type warning
|
| + Expect.throws(() => D.hest = 1, (e) => e is NoSuchMethodError); /// 04: static type warning
|
| + Expect.throws(() => D.hest, (e) => e is NoSuchMethodError); /// 05: static type warning
|
| + Expect.throws(() => fisk = 1, (e) => e is NoSuchMethodError); /// 06: static type warning
|
| + Expect.throws(() => fisk, (e) => e is NoSuchMethodError); /// 07: static type warning
|
| + Expect.throws(() => fisk(), (e) => e is NoSuchMethodError); /// 08: static type warning
|
| + Expect.throws(() => fisk = 1, (e) => e is NoSuchMethodError); /// 09: static type warning
|
| + Expect.throws(() => fisk, (e) => e is NoSuchMethodError); /// 10: static type warning
|
| }
|
|
|