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 'dart:async'; | 5 import 'dart:async'; |
6 import 'package:async_helper/async_helper.dart'; | 6 import 'package:async_helper/async_helper.dart'; |
7 import 'compiler_helper.dart'; | 7 import 'compiler_helper.dart'; |
8 import '../../../sdk/lib/_internal/compiler/implementation/resolution/class_memb
ers.dart' | 8 import 'package:compiler/implementation/resolution/class_members.dart' |
9 show MembersCreator; | 9 show MembersCreator; |
10 | 10 |
11 main() { | 11 main() { |
12 asyncTest(() => Future.wait([ | 12 asyncTest(() => Future.wait([ |
13 testRequiredParameters(), | 13 testRequiredParameters(), |
14 testPositionalParameters(), | 14 testPositionalParameters(), |
15 testNamedParameters(), | 15 testNamedParameters(), |
16 testNotSubtype(), | 16 testNotSubtype(), |
17 testGetterNotSubtype(), | 17 testGetterNotSubtype(), |
18 testSetterNotSubtype(), | 18 testSetterNotSubtype(), |
(...skipping 1512 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1531 class A { | 1531 class A { |
1532 noSuchMethod(_) => null; | 1532 noSuchMethod(_) => null; |
1533 method(); // testNoSuchMethod:13 | 1533 method(); // testNoSuchMethod:13 |
1534 } | 1534 } |
1535 class Class extends A { | 1535 class Class extends A { |
1536 } | 1536 } |
1537 """, warnings: MessageKind.UNIMPLEMENTED_METHOD_ONE, | 1537 """, warnings: MessageKind.UNIMPLEMENTED_METHOD_ONE, |
1538 infos: MessageKind.UNIMPLEMENTED_METHOD_CONT), | 1538 infos: MessageKind.UNIMPLEMENTED_METHOD_CONT), |
1539 ]); | 1539 ]); |
1540 } | 1540 } |
OLD | NEW |