| Index: pkg/analyzer/lib/src/task/strong/checker.dart
|
| diff --git a/pkg/analyzer/lib/src/task/strong/checker.dart b/pkg/analyzer/lib/src/task/strong/checker.dart
|
| index 4e2a092523ccfc6d7d1be7f122529b96600a0ddc..6f9ac6e6ea562c6b9933fa16d4151e63d2bab452 100644
|
| --- a/pkg/analyzer/lib/src/task/strong/checker.dart
|
| +++ b/pkg/analyzer/lib/src/task/strong/checker.dart
|
| @@ -1434,15 +1434,7 @@ class _OverrideChecker {
|
| ]);
|
| }
|
| }
|
| - FunctionType concreteSubType = subType;
|
| - FunctionType concreteBaseType = baseType;
|
| - if (concreteSubType.typeFormals.isNotEmpty) {
|
| - if (concreteBaseType.typeFormals.isEmpty) {
|
| - concreteSubType = rules.instantiateToBounds(concreteSubType);
|
| - }
|
| - }
|
| -
|
| - if (!rules.isOverrideSubtypeOf(concreteSubType, concreteBaseType)) {
|
| + if (!rules.isOverrideSubtypeOf(subType, baseType)) {
|
| ErrorCode errorCode;
|
| if (errorLocation is ExtendsClause) {
|
| errorCode = StrongModeCode.INVALID_METHOD_OVERRIDE_FROM_BASE;
|
|
|