Index: pkg/compiler/lib/src/resolution/typedefs.dart |
diff --git a/pkg/compiler/lib/src/resolution/typedefs.dart b/pkg/compiler/lib/src/resolution/typedefs.dart |
index daf25dc79bea870713c7fa75cfdae1ff70f05986..7f1814198a2209aa61f9f9efc61f844327d8aec1 100644 |
--- a/pkg/compiler/lib/src/resolution/typedefs.dart |
+++ b/pkg/compiler/lib/src/resolution/typedefs.dart |
@@ -7,7 +7,7 @@ library dart2js.resolution.typedefs; |
import 'dart:developer'; |
import '../common.dart'; |
-import '../compiler.dart' show Compiler; |
+import '../common/resolution.dart'; |
import '../dart_types.dart'; |
import '../elements/elements.dart' |
show FunctionSignature, TypedefElement, TypeVariableElement; |
@@ -23,9 +23,9 @@ import 'signatures.dart' show SignatureResolver; |
class TypedefResolverVisitor extends TypeDefinitionVisitor { |
TypedefElementX get element => enclosingElement; |
- TypedefResolverVisitor(Compiler compiler, TypedefElement typedefElement, |
+ TypedefResolverVisitor(Resolution resolution, TypedefElement typedefElement, |
ResolutionRegistry registry) |
- : super(compiler, typedefElement, registry); |
+ : super(resolution, typedefElement, registry); |
visitTypedef(Typedef node) { |
element.computeType(resolution); |
@@ -33,7 +33,7 @@ class TypedefResolverVisitor extends TypeDefinitionVisitor { |
resolveTypeVariableBounds(node.typeParameters); |
FunctionSignature signature = SignatureResolver.analyze( |
- compiler, |
+ resolution, |
scope, |
null /* typeVariables */, |
node.formals, |