| Index: pkg/compiler/lib/src/serialization/equivalence.dart
|
| diff --git a/pkg/compiler/lib/src/serialization/equivalence.dart b/pkg/compiler/lib/src/serialization/equivalence.dart
|
| index a7c08b5b09fa95dafee95b2d4cd5d46c57490695..ec5dd23cb1af077914bf240d268ebc1f8c5ce6d0 100644
|
| --- a/pkg/compiler/lib/src/serialization/equivalence.dart
|
| +++ b/pkg/compiler/lib/src/serialization/equivalence.dart
|
| @@ -562,7 +562,9 @@ class TypeEquivalence implements DartTypeVisitor<bool, DartType> {
|
| @override
|
| bool visitTypeVariableType(TypeVariableType type, TypeVariableType other) {
|
| return strategy.testElements(
|
| - type, other, 'element', type.element, other.element);
|
| + type, other, 'element', type.element, other.element) &&
|
| + strategy.test(type, other, 'is MethodTypeVariableType',
|
| + type is MethodTypeVariableType, other is MethodTypeVariableType);
|
| }
|
|
|
| @override
|
|
|