| Index: pkg/compiler/lib/src/js_backend/type_variable_handler.dart
|
| diff --git a/pkg/compiler/lib/src/js_backend/type_variable_handler.dart b/pkg/compiler/lib/src/js_backend/type_variable_handler.dart
|
| index 2f7fa2903dcb21f230fd21050a8fe859354d23cc..30950d94eb0360b078c028b5c73676e120dde92f 100644
|
| --- a/pkg/compiler/lib/src/js_backend/type_variable_handler.dart
|
| +++ b/pkg/compiler/lib/src/js_backend/type_variable_handler.dart
|
| @@ -87,7 +87,11 @@ class TypeVariableHandler {
|
| ConstantExpression bound = new IntConstantExpression(
|
| boundIndex,
|
| _backend.constantSystem.createInt(boundIndex));
|
| - ConstantExpression type = _backend.constants.createTypeConstant(cls);
|
| + ConstantExpression type =
|
| + new TypeConstantExpression(
|
| + _backend.constantSystem.createType(
|
| + _backend.compiler, cls.rawType),
|
| + cls.rawType);
|
| List<AstConstant> arguments =
|
| [wrapConstant(type), wrapConstant(name), wrapConstant(bound)];
|
|
|
|
|