| Index: sdk/lib/_internal/compiler/implementation/types/concrete_types_inferrer.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/types/concrete_types_inferrer.dart b/sdk/lib/_internal/compiler/implementation/types/concrete_types_inferrer.dart
|
| index f1168458c800ae8a87b2e0ccc1cb925c77bfd78a..4f265f02cb2167a475e3efdef2e1495c5c5bd959 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/types/concrete_types_inferrer.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/types/concrete_types_inferrer.dart
|
| @@ -398,7 +398,7 @@ class ConcreteTypesEnvironment {
|
| if (baseType.isUnknown()) return false;
|
| if (baseType.isNull()) continue;
|
| ClassBaseType classType = baseType;
|
| - if (!types.isSubtype(new InterfaceType(classType.element),
|
| + if (!types.isSubtype(classType.element.rawType,
|
| parameterType)) return false;
|
| }
|
| return true;
|
|
|