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 37c0933c75f5d22c15a33b7dda844595e0f957f6..13f248cd76033a7dec5bd0b4539609d8c8248e65 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) |
@@ -1017,7 +1017,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)); |