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

Unified Diff: pkg/compiler/lib/src/resolution/scope.dart

Issue 2603263002: Prefix resolution_types with Resolution. (Closed)
Patch Set: Rebased 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 side-by-side diff with in-line comments
Download patch
Index: pkg/compiler/lib/src/resolution/scope.dart
diff --git a/pkg/compiler/lib/src/resolution/scope.dart b/pkg/compiler/lib/src/resolution/scope.dart
index d25d6e14018b2bdf26c571680cbb1d83755a159d..380b7643dd744323cd8b40995b73f6ffb530ed73 100644
--- a/pkg/compiler/lib/src/resolution/scope.dart
+++ b/pkg/compiler/lib/src/resolution/scope.dart
@@ -66,7 +66,7 @@ class VariableDefinitionScope extends NestedScope {
/// available, but where locally declared and inherited members are not
/// available.
abstract class TypeVariablesScope extends NestedScope {
- List<DartType> get typeVariables;
+ List<ResolutionDartType> get typeVariables;
TypeVariablesScope(Scope parent) : super(parent) {
assert(parent != null);
@@ -77,7 +77,7 @@ abstract class TypeVariablesScope extends NestedScope {
}
Element lookupTypeVariable(String name) {
- for (TypeVariableType type in typeVariables) {
+ for (ResolutionTypeVariableType type in typeVariables) {
if (type.name == name) {
return type.element;
}
@@ -99,7 +99,7 @@ class TypeDeclarationScope extends TypeVariablesScope {
final GenericElement element;
@override
- List<DartType> get typeVariables => element.typeVariables;
+ List<ResolutionDartType> get typeVariables => element.typeVariables;
TypeDeclarationScope(Scope parent, this.element) : super(parent);
« no previous file with comments | « pkg/compiler/lib/src/resolution/resolution_result.dart ('k') | pkg/compiler/lib/src/resolution/semantic_visitor.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698