| Index: pkg/analyzer/lib/src/dart/element/element.dart
|
| diff --git a/pkg/analyzer/lib/src/dart/element/element.dart b/pkg/analyzer/lib/src/dart/element/element.dart
|
| index fdd058496ac117636aeaeadaae790fe8e6cc601a..464a9246f2fe071a0708873ade05796fd92db323 100644
|
| --- a/pkg/analyzer/lib/src/dart/element/element.dart
|
| +++ b/pkg/analyzer/lib/src/dart/element/element.dart
|
| @@ -7222,12 +7222,14 @@ class MethodElementImpl extends ExecutableElementImpl implements MethodElement {
|
| MethodDeclaration computeNode() =>
|
| getNodeMatching((node) => node is MethodDeclaration);
|
|
|
| - // TODO(jmesserly): this implementation is completely wrong:
|
| - // It does not handle covariant parameters from a generic class.
|
| - // It drops type parameters from generic methods.
|
| - // Since this method was for DDC, it should be removed.
|
| + @deprecated
|
| @override
|
| FunctionType getReifiedType(DartType objectType) {
|
| + // TODO(jmesserly): this implementation is completely wrong:
|
| + // It does not handle covariant parameters from a generic class.
|
| + // It drops type parameters from generic methods.
|
| + // Since this method was for DDC, it should be removed.
|
| + //
|
| // Check whether we have any covariant parameters.
|
| // Usually we don't, so we can use the same type.
|
| bool hasCovariant = false;
|
|
|