Index: dart/sdk/lib/_internal/compiler/implementation/resolution/members.dart |
diff --git a/dart/sdk/lib/_internal/compiler/implementation/resolution/members.dart b/dart/sdk/lib/_internal/compiler/implementation/resolution/members.dart |
index 9db2227f66c691496373a669333a628a5d231dc9..9e1e01859bf7060e6ed1ec4c7da2d56d676a1fc5 100644 |
--- a/dart/sdk/lib/_internal/compiler/implementation/resolution/members.dart |
+++ b/dart/sdk/lib/_internal/compiler/implementation/resolution/members.dart |
@@ -1998,6 +1998,8 @@ class ResolverVisitor extends CommonResolverVisitor<Element> { |
} |
constructor.defaultImplementation = redirectionTarget; |
world.registerStaticUse(redirectionTarget); |
+ world.registerInstantiatedClass( |
+ redirectionTarget.enclosingElement.declaration); |
} |
visitThrow(Throw node) { |