Index: pkg/compiler/lib/src/resolution/resolution.dart |
diff --git a/pkg/compiler/lib/src/resolution/resolution.dart b/pkg/compiler/lib/src/resolution/resolution.dart |
index 4d747cddc316bdeb269ed23580e1dc9526cf99c9..fe9cf6dd65f3442087768e55bf0ac981c4898591 100644 |
--- a/pkg/compiler/lib/src/resolution/resolution.dart |
+++ b/pkg/compiler/lib/src/resolution/resolution.dart |
@@ -64,7 +64,7 @@ import 'typedefs.dart'; |
class ResolverTask extends CompilerTask { |
final ConstantCompiler constantCompiler; |
final Resolution resolution; |
- final World world; |
+ final OpenWorld world; |
ResolverTask( |
this.resolution, this.constantCompiler, this.world, Measurer measurer) |
@@ -1018,7 +1018,7 @@ class ResolverTask extends CompilerTask { |
WorldImpact resolveTypedef(TypedefElementX element) { |
if (element.isResolved) return const ResolutionImpact(); |
- world.allTypedefs.add(element); |
+ world.registerTypedef(element); |
return _resolveTypeDeclaration(element, () { |
ResolutionRegistry registry = new ResolutionRegistry( |
resolution.target, _ensureTreeElements(element)); |