OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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"; | 5 import "package:expect/expect.dart"; |
6 | 6 |
7 import "compiler_helper.dart"; | 7 import "compiler_helper.dart"; |
8 | 8 |
9 main() { | 9 main() { |
10 testRequiredParameters(); | 10 testRequiredParameters(); |
(...skipping 1492 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1503 check(""" | 1503 check(""" |
1504 class A { | 1504 class A { |
1505 noSuchMethod(_) => null; | 1505 noSuchMethod(_) => null; |
1506 method(); // testNoSuchMethod:13 | 1506 method(); // testNoSuchMethod:13 |
1507 } | 1507 } |
1508 class Class extends A { | 1508 class Class extends A { |
1509 } | 1509 } |
1510 """, warnings: MessageKind.UNIMPLEMENTED_METHOD_ONE, | 1510 """, warnings: MessageKind.UNIMPLEMENTED_METHOD_ONE, |
1511 infos: MessageKind.UNIMPLEMENTED_METHOD_CONT); | 1511 infos: MessageKind.UNIMPLEMENTED_METHOD_CONT); |
1512 } | 1512 } |
OLD | NEW |