| OLD | NEW |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 dart2js.resolution.class_hierarchy; | 5 library dart2js.resolution.class_hierarchy; |
| 6 | 6 |
| 7 import '../common.dart'; | 7 import '../common.dart'; |
| 8 import '../common/resolution.dart' show Resolution; | 8 import '../common/resolution.dart' show Resolution; |
| 9 import '../core_types.dart' show CommonElements; | 9 import '../core_types.dart' show CommonElements; |
| 10 import '../dart_types.dart'; | 10 import '../elements/resolution_types.dart'; |
| 11 import '../elements/elements.dart'; | 11 import '../elements/elements.dart'; |
| 12 import '../elements/modelx.dart' | 12 import '../elements/modelx.dart' |
| 13 show | 13 show |
| 14 BaseClassElementX, | 14 BaseClassElementX, |
| 15 ErroneousElementX, | 15 ErroneousElementX, |
| 16 MixinApplicationElementX, | 16 MixinApplicationElementX, |
| 17 SynthesizedConstructorElementX, | 17 SynthesizedConstructorElementX, |
| 18 TypeVariableElementX, | 18 TypeVariableElementX, |
| 19 UnnamedMixinApplicationElementX; | 19 UnnamedMixinApplicationElementX; |
| 20 import '../ordered_typeset.dart' show OrderedTypeSet, OrderedTypeSetBuilder; | 20 import '../ordered_typeset.dart' show OrderedTypeSet, OrderedTypeSetBuilder; |
| (...skipping 617 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 638 Identifier selector = node.selector.asIdentifier(); | 638 Identifier selector = node.selector.asIdentifier(); |
| 639 var e = prefixElement.lookupLocalMember(selector.source); | 639 var e = prefixElement.lookupLocalMember(selector.source); |
| 640 if (e == null || !e.impliesType) { | 640 if (e == null || !e.impliesType) { |
| 641 reporter.reportErrorMessage(node.selector, | 641 reporter.reportErrorMessage(node.selector, |
| 642 MessageKind.CANNOT_RESOLVE_TYPE, {'typeName': node.selector}); | 642 MessageKind.CANNOT_RESOLVE_TYPE, {'typeName': node.selector}); |
| 643 return; | 643 return; |
| 644 } | 644 } |
| 645 loadSupertype(e, node); | 645 loadSupertype(e, node); |
| 646 } | 646 } |
| 647 } | 647 } |
| OLD | NEW |