| 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 library members_test; | 5 library members_test; |
| 6 | 6 |
| 7 import 'package:expect/expect.dart'; | 7 import 'package:expect/expect.dart'; |
| 8 import "package:async_helper/async_helper.dart"; | 8 import "package:async_helper/async_helper.dart"; |
| 9 import 'type_test_helper.dart'; | 9 import 'type_test_helper.dart'; |
| 10 import 'package:compiler/implementation/dart_types.dart'; | 10 import 'package:compiler/src/dart_types.dart'; |
| 11 import "package:compiler/implementation/elements/elements.dart" | 11 import "package:compiler/src/elements/elements.dart" |
| 12 show Element, ClassElement, MemberSignature, Name, PublicName, | 12 show Element, ClassElement, MemberSignature, Name, PublicName, |
| 13 DeclaredMember, Member; | 13 DeclaredMember, Member; |
| 14 import "package:compiler/implementation/resolution/class_members.dart" | 14 import "package:compiler/src/resolution/class_members.dart" |
| 15 show DeclaredMember, ErroneousMember, SyntheticMember; | 15 show DeclaredMember, ErroneousMember, SyntheticMember; |
| 16 | 16 |
| 17 void main() { | 17 void main() { |
| 18 testClassMembers(); | 18 testClassMembers(); |
| 19 testInterfaceMembers(); | 19 testInterfaceMembers(); |
| 20 testClassVsInterfaceMembers(); | 20 testClassVsInterfaceMembers(); |
| 21 testMixinMembers(); | 21 testMixinMembers(); |
| 22 testMixinMembersWithoutImplements(); | 22 testMixinMembersWithoutImplements(); |
| 23 } | 23 } |
| 24 | 24 |
| (...skipping 675 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 700 | 700 |
| 701 InterfaceType A = env['A']; | 701 InterfaceType A = env['A']; |
| 702 InterfaceType B = env['B']; | 702 InterfaceType B = env['B']; |
| 703 InterfaceType C = env['C']; | 703 InterfaceType C = env['C']; |
| 704 | 704 |
| 705 checkMember(C, 'm', checkType: NO_CLASS_MEMBER, | 705 checkMember(C, 'm', checkType: NO_CLASS_MEMBER, |
| 706 inheritedFrom: A, | 706 inheritedFrom: A, |
| 707 functionType: env.functionType(dynamic_ , [])); | 707 functionType: env.functionType(dynamic_ , [])); |
| 708 })); | 708 })); |
| 709 } | 709 } |
| OLD | NEW |