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

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

Issue 2860753005: Make elements/names.dart its own library (Closed)
Patch Set: Created 3 years, 7 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 '../common_elements.dart' show CommonElements; 9 import '../common_elements.dart' show CommonElements;
10 import '../elements/resolution_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 '../elements/names.dart';
20 import '../ordered_typeset.dart' 21 import '../ordered_typeset.dart'
21 show OrderedTypeSet, ResolutionOrderedTypeSetBuilder; 22 show OrderedTypeSet, ResolutionOrderedTypeSetBuilder;
22 import '../tree/tree.dart'; 23 import '../tree/tree.dart';
23 import '../universe/call_structure.dart' show CallStructure; 24 import '../universe/call_structure.dart' show CallStructure;
24 import '../universe/feature.dart' show Feature; 25 import '../universe/feature.dart' show Feature;
25 import '../util/util.dart' show Link, Setlet; 26 import '../util/util.dart' show Link, Setlet;
26 import 'enum_creator.dart'; 27 import 'enum_creator.dart';
27 import 'members.dart' show lookupInScope; 28 import 'members.dart' show lookupInScope;
28 import 'registry.dart' show ResolutionRegistry; 29 import 'registry.dart' show ResolutionRegistry;
29 import 'resolution_common.dart' show CommonResolverVisitor, MappingVisitor; 30 import 'resolution_common.dart' show CommonResolverVisitor, MappingVisitor;
(...skipping 615 matching lines...) Expand 10 before | Expand all | Expand 10 after
645 Identifier selector = node.selector.asIdentifier(); 646 Identifier selector = node.selector.asIdentifier();
646 var e = prefixElement.lookupLocalMember(selector.source); 647 var e = prefixElement.lookupLocalMember(selector.source);
647 if (e == null || !e.impliesType) { 648 if (e == null || !e.impliesType) {
648 reporter.reportErrorMessage(node.selector, 649 reporter.reportErrorMessage(node.selector,
649 MessageKind.CANNOT_RESOLVE_TYPE, {'typeName': node.selector}); 650 MessageKind.CANNOT_RESOLVE_TYPE, {'typeName': node.selector});
650 return; 651 return;
651 } 652 }
652 loadSupertype(e, node); 653 loadSupertype(e, node);
653 } 654 }
654 } 655 }
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