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

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

Issue 1348063002: Make the universe parts into small libraries. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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 '../compiler.dart' show 7 import '../compiler.dart' show
8 Compiler; 8 Compiler;
9 import '../dart_types.dart'; 9 import '../dart_types.dart';
10 import '../diagnostics/invariant.dart' show 10 import '../diagnostics/invariant.dart' show
11 invariant; 11 invariant;
12 import '../diagnostics/messages.dart' show 12 import '../diagnostics/messages.dart' show
13 MessageKind; 13 MessageKind;
14 import '../elements/elements.dart'; 14 import '../elements/elements.dart';
15 import '../elements/modelx.dart' show 15 import '../elements/modelx.dart' show
16 BaseClassElementX, 16 BaseClassElementX,
17 ErroneousElementX, 17 ErroneousElementX,
18 MixinApplicationElementX, 18 MixinApplicationElementX,
19 SynthesizedConstructorElementX, 19 SynthesizedConstructorElementX,
20 TypeVariableElementX; 20 TypeVariableElementX;
21 import '../ordered_typeset.dart' show 21 import '../ordered_typeset.dart' show
22 OrderedTypeSet, 22 OrderedTypeSet,
23 OrderedTypeSetBuilder; 23 OrderedTypeSetBuilder;
24 import '../tree/tree.dart'; 24 import '../tree/tree.dart';
25 import '../util/util.dart' show 25 import '../util/util.dart' show
26 Link, 26 Link,
27 Setlet; 27 Setlet;
28 import '../universe/universe.dart' show 28 import '../universe/call_structure.dart' show
29 CallStructure, 29 CallStructure;
30 Selector;
31 30
32 import 'enum_creator.dart'; 31 import 'enum_creator.dart';
33 import 'members.dart' show 32 import 'members.dart' show
34 lookupInScope; 33 lookupInScope;
35 import 'registry.dart' show 34 import 'registry.dart' show
36 ResolutionRegistry; 35 ResolutionRegistry;
37 import 'resolution_common.dart' show 36 import 'resolution_common.dart' show
38 CommonResolverVisitor, 37 CommonResolverVisitor,
39 MappingVisitor; 38 MappingVisitor;
40 import 'scope.dart' show 39 import 'scope.dart' show
(...skipping 632 matching lines...) Expand 10 before | Expand all | Expand 10 after
673 Identifier selector = node.selector.asIdentifier(); 672 Identifier selector = node.selector.asIdentifier();
674 var e = prefixElement.lookupLocalMember(selector.source); 673 var e = prefixElement.lookupLocalMember(selector.source);
675 if (e == null || !e.impliesType) { 674 if (e == null || !e.impliesType) {
676 error(node.selector, MessageKind.CANNOT_RESOLVE_TYPE, 675 error(node.selector, MessageKind.CANNOT_RESOLVE_TYPE,
677 {'typeName': node.selector}); 676 {'typeName': node.selector});
678 return; 677 return;
679 } 678 }
680 loadSupertype(e, node); 679 loadSupertype(e, node);
681 } 680 }
682 } 681 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/native/native.dart ('k') | pkg/compiler/lib/src/resolution/constructors.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698