| Index: pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart
|
| diff --git a/pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart b/pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart
|
| index f256d75a49203c1e140d91b24ed81c03f50dc3dd..95953c757a1ff9217778f60f1996a150ea2781cd 100644
|
| --- a/pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart
|
| +++ b/pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart
|
| @@ -410,11 +410,15 @@ class IrBuilderVisitor extends ast.Visitor<ir.Primitive>
|
| closureScope: getClosureScopeForFunction(constructor));
|
|
|
| // Create a list of the values of all type argument parameters, if any.
|
| - List<ir.Primitive> typeInformation;
|
| + ir.Primitive typeInformation;
|
| if (requiresTypeInformation) {
|
| - typeInformation = irParameters.sublist(firstTypeArgumentParameterIndex);
|
| + typeInformation = new ir.TypeExpression(
|
| + classElement.thisType,
|
| + irParameters.sublist(firstTypeArgumentParameterIndex),
|
| + true);
|
| + irBuilder.add(new ir.LetPrim(typeInformation));
|
| } else {
|
| - typeInformation = const <ir.Primitive>[];
|
| + typeInformation = null;
|
| }
|
|
|
| // -- Load values for type variables declared on super classes --
|
|
|