| Index: pkg/compiler/lib/src/js_backend/codegen/codegen.dart
|
| diff --git a/pkg/compiler/lib/src/js_backend/codegen/codegen.dart b/pkg/compiler/lib/src/js_backend/codegen/codegen.dart
|
| index 2f2d997f580e79f3ac8d8571d977a1bd4692ad85..45d75902e0c0b1a9e35f5e6fc740f5faacbaf32d 100644
|
| --- a/pkg/compiler/lib/src/js_backend/codegen/codegen.dart
|
| +++ b/pkg/compiler/lib/src/js_backend/codegen/codegen.dart
|
| @@ -636,10 +636,10 @@ class CodeGenerator extends tree_ir.StatementVisitor
|
| ClassElement context = node.variable.element.enclosingClass;
|
| js.Expression index = js.number(glue.getTypeVariableIndex(node.variable));
|
| if (glue.needsSubstitutionForTypeVariableAccess(context)) {
|
| - js.Expression substitution = glue.getSubstitutionName(context);
|
| + js.Expression typeName = glue.getRuntimeTypeName(context);
|
| return buildStaticHelperInvocation(
|
| - glue.getTypeArgumentWithSubstitution(),
|
| - [visitExpression(node.target), substitution, index]);
|
| + glue.getRuntimeTypeArgument(),
|
| + [visitExpression(node.target), typeName, index]);
|
| } else {
|
| return buildStaticHelperInvocation(
|
| glue.getTypeArgumentByIndex(),
|
|
|