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 7d9e91e664783b3838dfe5694611f90f2a38f859..3e77604a2da52b37ea3fdf680c53d5fbc1103d60 100644 |
--- a/pkg/analyzer/lib/src/dart/element/element.dart |
+++ b/pkg/analyzer/lib/src/dart/element/element.dart |
@@ -7449,7 +7449,7 @@ class ParameterElementImpl extends VariableElementImpl |
@override |
bool get hasImplicitType { |
if (_unlinkedParam != null) { |
- return _unlinkedParam.type == null; |
+ return _unlinkedParam.type == null && !_unlinkedParam.isFunctionTyped; |
} |
return super.hasImplicitType; |
} |