| 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 9e6621b25a513c04a3dc3bb3d49beb2975dae954..fa6b40604489f8af4efc5d0c2aaf722d05acb733 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/js_emitter/class_emitter.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/js_emitter/class_emitter.dart
|
| @@ -313,14 +313,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.number);
|
|
|
| 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));
|
| }
|
|
|