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 9abed6de950677f102514280d17a001378558ea0..6f294f6c00a35469da2d78e6c0d798674610f035 100644 |
--- a/pkg/compiler/lib/src/js_emitter/runtime_type_generator.dart |
+++ b/pkg/compiler/lib/src/js_emitter/runtime_type_generator.dart |
@@ -284,7 +284,7 @@ class RuntimeTypeGenerator { |
StubMethod _generateTypeVariableReader(ClassElement cls, |
TypeVariableElement element) { |
- String name = namer.readTypeVariableName(element); |
+ String name = namer.nameForReadTypeVariable(element); |
int index = RuntimeTypes.getTypeVariableIndex(element); |
jsAst.Expression computeTypeVariable; |