Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1711)

Side by Side Diff: pkg/compiler/lib/src/resolution/class_hierarchy.dart

Issue 2606253002: Move dart_types to elements/resolution_types (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/resolution/access_semantics.dart ('k') | pkg/compiler/lib/src/resolution/class_members.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698