Index: pkg/compiler/lib/src/js_emitter/old_emitter/container_builder.dart |
diff --git a/pkg/compiler/lib/src/js_emitter/old_emitter/container_builder.dart b/pkg/compiler/lib/src/js_emitter/old_emitter/container_builder.dart |
index 173f7c0ffa8a457956df059ab12b10a12d338ec9..1b1e100af716ec511c691d98b5ce18a86a2281c5 100644 |
--- a/pkg/compiler/lib/src/js_emitter/old_emitter/container_builder.dart |
+++ b/pkg/compiler/lib/src/js_emitter/old_emitter/container_builder.dart |
@@ -150,7 +150,9 @@ class ContainerBuilder extends CodeEmitterHelper { |
if (canBeReflected) { |
jsAst.LiteralString reflectionName; |
if (member.isConstructor) { |
- String reflectionNameString = emitter.getReflectionName(member, name); |
+ // TODO(herhut): This registers name as a mangled name. Do we need this |
+ // given that we use a different name below? |
+ emitter.getReflectionName(member, name); |
reflectionName = |
new jsAst.LiteralString( |
'"new ${Elements.reconstructConstructorName(member)}"'); |