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

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

Issue 2239193002: Rerun formatter (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 4 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 Feature, Resolution; 8 import '../common/resolution.dart' show Feature, Resolution;
9 import '../core_types.dart' show CoreClasses, CoreTypes; 9 import '../core_types.dart' show CoreClasses, CoreTypes;
10 import '../dart_types.dart'; 10 import '../dart_types.dart';
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 typeNode.name, 84 typeNode.name,
85 MessageKind.CYCLIC_TYPE_VARIABLE, 85 MessageKind.CYCLIC_TYPE_VARIABLE,
86 {'typeVariableName': variableElement.name}); 86 {'typeVariableName': variableElement.name});
87 } 87 }
88 break; 88 break;
89 } 89 }
90 seenTypeVariables = seenTypeVariables.prepend(element); 90 seenTypeVariables = seenTypeVariables.prepend(element);
91 bound = element.bound; 91 bound = element.bound;
92 } 92 }
93 } 93 }
94
94 addDeferredAction(element, checkTypeVariableBound); 95 addDeferredAction(element, checkTypeVariableBound);
95 } else { 96 } else {
96 variableElement.boundCache = objectType; 97 variableElement.boundCache = objectType;
97 } 98 }
98 nodeLink = nodeLink.tail; 99 nodeLink = nodeLink.tail;
99 } 100 }
100 assert(!types.moveNext()); 101 assert(!types.moveNext());
101 } 102 }
102 } 103 }
103 104
(...skipping 539 matching lines...) Expand 10 before | Expand all | Expand 10 after
643 Identifier selector = node.selector.asIdentifier(); 644 Identifier selector = node.selector.asIdentifier();
644 var e = prefixElement.lookupLocalMember(selector.source); 645 var e = prefixElement.lookupLocalMember(selector.source);
645 if (e == null || !e.impliesType) { 646 if (e == null || !e.impliesType) {
646 reporter.reportErrorMessage(node.selector, 647 reporter.reportErrorMessage(node.selector,
647 MessageKind.CANNOT_RESOLVE_TYPE, {'typeName': node.selector}); 648 MessageKind.CANNOT_RESOLVE_TYPE, {'typeName': node.selector});
648 return; 649 return;
649 } 650 }
650 loadSupertype(e, node); 651 loadSupertype(e, node);
651 } 652 }
652 } 653 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/parser/partial_elements.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