Index: pkg/compiler/lib/src/elements/modelx.dart |
diff --git a/pkg/compiler/lib/src/elements/modelx.dart b/pkg/compiler/lib/src/elements/modelx.dart |
index 65742316c66ff25e990a162e3b8f69e1f1b68f9f..db92ebefa6cbaace95e53589ccc05e0f2fb0bc17 100644 |
--- a/pkg/compiler/lib/src/elements/modelx.dart |
+++ b/pkg/compiler/lib/src/elements/modelx.dart |
@@ -2363,6 +2363,7 @@ abstract class BaseClassElementX extends ElementX |
void ensureResolved(Compiler compiler) { |
if (resolutionState == STATE_NOT_STARTED) { |
compiler.resolver.resolveClass(this); |
+ compiler.world.registerClass(this); |
} |
} |