Index: pkg/analyzer/lib/src/generated/resolver.dart |
diff --git a/pkg/analyzer/lib/src/generated/resolver.dart b/pkg/analyzer/lib/src/generated/resolver.dart |
index 24a8cd360a791dca15770275dd4e691eba426357..6287f80eda76cd463a4b9d1f5ebe9d307fe27100 100644 |
--- a/pkg/analyzer/lib/src/generated/resolver.dart |
+++ b/pkg/analyzer/lib/src/generated/resolver.dart |
@@ -9850,23 +9850,6 @@ class TypeResolverVisitor extends ScopedVisitor { |
} |
@override |
- Object visitGenericFunctionType(GenericFunctionType node) { |
- DartType returnType = node.returnType?.type ?? DynamicTypeImpl.instance; |
- List<TypeParameterElement> typeParameters = node |
- .typeParameters.typeParameters |
- .map((TypeParameter parameter) => |
- parameter.element as TypeParameterElement) |
- .toList(); |
- List<ParameterElement> parameters = node.parameters.parameters |
- .map((FormalParameter parameter) => parameter.element) |
- .toList(); |
- (node as GenericFunctionTypeImpl).type = |
- new FunctionTypeImpl.forGenericFunctionType( |
- typeParameters, DartType.EMPTY_LIST, returnType, parameters, false); |
- return null; |
- } |
- |
- @override |
Object visitMethodDeclaration(MethodDeclaration node) { |
super.visitMethodDeclaration(node); |
ExecutableElementImpl element = node.element as ExecutableElementImpl; |