Index: pkg/compiler/lib/src/js_emitter/runtime_type_generator.dart |
diff --git a/pkg/compiler/lib/src/js_emitter/runtime_type_generator.dart b/pkg/compiler/lib/src/js_emitter/runtime_type_generator.dart |
index 4afc814d6f1892fba033b81142fcdf84ea4b7c3b..0791151512263285c91a821f47d08bb802715f8a 100644 |
--- a/pkg/compiler/lib/src/js_emitter/runtime_type_generator.dart |
+++ b/pkg/compiler/lib/src/js_emitter/runtime_type_generator.dart |
@@ -354,7 +354,7 @@ class RuntimeTypeGenerator { |
Substitution substitution = |
backend.rti.getSubstitution(cls, element.typeDeclaration); |
- jsAst.Name rtiFieldName = backend.namer.rtiFieldName; |
+ jsAst.Name rtiFieldName = backend.namer.rtiFieldJsName; |
if (substitution != null) { |
computeTypeVariable = js(r'#.apply(null, this.#)', [ |
backend.rtiEncoder.getSubstitutionCodeForVariable(substitution, index), |