Index: sdk/lib/_internal/compiler/implementation/resolution/members.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/resolution/members.dart b/sdk/lib/_internal/compiler/implementation/resolution/members.dart |
index d4e6c5e223aaf8e2ea10fffed984337e9b77d7f3..d91ff7404075313f1cad24a7da279aa4e17d037b 100644 |
--- a/sdk/lib/_internal/compiler/implementation/resolution/members.dart |
+++ b/sdk/lib/_internal/compiler/implementation/resolution/members.dart |
@@ -1301,6 +1301,7 @@ class ResolverTask extends CompilerTask { |
TreeElements resolveTypedef(TypedefElementX element) { |
if (element.isResolved) return element.treeElements; |
+ compiler.world.allTypedefs.add(element); |
return _resolveTypeDeclaration(element, () { |
ResolutionRegistry registry = new ResolutionRegistry(compiler, element); |
return compiler.withCurrentElement(element, () { |