| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 import "package:expect/expect.dart"; | |
| 6 | |
| 7 // When attempting to call a nonexistent static method, getter or setter, check | 5 // When attempting to call a nonexistent static method, getter or setter, check |
| 8 // that a NoSuchMethodError is thrown. | 6 // that a NoSuchMethodError is thrown. |
| 9 | 7 |
| 10 class C {} | 8 class C {} |
| 11 | 9 |
| 12 class D { | 10 class D { |
| 13 get hest => 1; /// 04: continued | 11 get hest => 1; /// 04: continued |
| 14 set hest(val) {} /// 05: continued | 12 set hest(val) {} /// 05: continued |
| 15 } | 13 } |
| 16 | 14 |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 expectNsme( | 91 expectNsme( |
| 94 test08 /// 08: continued | 92 test08 /// 08: continued |
| 95 ); | 93 ); |
| 96 expectNsme( | 94 expectNsme( |
| 97 test09 /// 09: continued | 95 test09 /// 09: continued |
| 98 ); | 96 ); |
| 99 expectNsme( | 97 expectNsme( |
| 100 test10 /// 10: continued | 98 test10 /// 10: continued |
| 101 ); | 99 ); |
| 102 } | 100 } |
| OLD | NEW |