Index: pkg/compiler/lib/src/js_backend/namer.dart |
diff --git a/pkg/compiler/lib/src/js_backend/namer.dart b/pkg/compiler/lib/src/js_backend/namer.dart |
index d48df6a2e3833fe95375c51258ea916c37dd5413..bfabd01ac9615f89134651ad8c7fb15fc73466db 100644 |
--- a/pkg/compiler/lib/src/js_backend/namer.dart |
+++ b/pkg/compiler/lib/src/js_backend/namer.dart |
@@ -1787,6 +1787,7 @@ class ConstantNamingVisitor implements ConstantValueVisitor { |
@override |
void visitConstructed(ConstructedConstantValue constant, [_]) { |
addRoot(constant.type.element.name); |
+ // TODO(johnniwinther): This should be accessed from a codegen closed world. |
codegenWorldBuilder.forEachInstanceField(constant.type.element, |
(_, FieldElement field) { |
if (failed) return; |