| Index: sdk/lib/_internal/compiler/implementation/js_emitter/class_emitter.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/js_emitter/class_emitter.dart b/sdk/lib/_internal/compiler/implementation/js_emitter/class_emitter.dart
|
| index c3b54b1ed7586d185cfa5c5c8e65bf4af89e7763..6d41c20146ef29bb275c38050b9463733b120679 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/js_emitter/class_emitter.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/js_emitter/class_emitter.dart
|
| @@ -301,14 +301,14 @@ class ClassEmitter extends CodeEmitterHelper {
|
| }
|
|
|
| if (backend.isNeededForReflection(classElement)) {
|
| - Link typeVars = classElement.typeVariables;
|
| + List<DartType> typeVars = classElement.typeVariables;
|
| Iterable typeVariableProperties = task.typeVariableHandler
|
| .typeVariablesOf(classElement).map(js.toExpression);
|
|
|
| ClassElement superclass = classElement.superclass;
|
| bool hasSuper = superclass != null;
|
| if ((!typeVariableProperties.isEmpty && !hasSuper) ||
|
| - (hasSuper && superclass.typeVariables != typeVars)) {
|
| + (hasSuper && !equalElements(superclass.typeVariables, typeVars))) {
|
| classBuilder.addProperty('<>',
|
| new jsAst.ArrayInitializer.from(typeVariableProperties));
|
| }
|
|
|