Index: pkg/compiler/lib/src/js_emitter/full_emitter/class_emitter.dart |
diff --git a/pkg/compiler/lib/src/js_emitter/full_emitter/class_emitter.dart b/pkg/compiler/lib/src/js_emitter/full_emitter/class_emitter.dart |
index 3762f7293b86d3e30c8ff6b36bae9b12b21690fa..2be2636a5899c8d12d15cc140e0d6ed4b3c386e6 100644 |
--- a/pkg/compiler/lib/src/js_emitter/full_emitter/class_emitter.dart |
+++ b/pkg/compiler/lib/src/js_emitter/full_emitter/class_emitter.dart |
@@ -57,7 +57,7 @@ class ClassEmitter extends CodeEmitterHelper { |
emitConstructorsForCSP(cls); |
emitFields(cls, builder); |
if (cls.hasRtiField) { |
- builder.addField(namer.rtiFieldName); |
+ builder.addField(namer.rtiFieldJsName); |
} |
emitCheckedClassSetters(cls, builder); |
emitClassGettersSettersForCSP(cls, builder); |