Index: pkg/analysis_server/lib/src/services/completion/dart/local_reference_contributor.dart |
diff --git a/pkg/analysis_server/lib/src/services/completion/dart/local_reference_contributor.dart b/pkg/analysis_server/lib/src/services/completion/dart/local_reference_contributor.dart |
index 3d56c873792562172c17ea61c010e2e8b912eb1f..9199091a64b36e570f34386420a8f23112a61bf3 100644 |
--- a/pkg/analysis_server/lib/src/services/completion/dart/local_reference_contributor.dart |
+++ b/pkg/analysis_server/lib/src/services/completion/dart/local_reference_contributor.dart |
@@ -67,7 +67,8 @@ class _LocalVisitor extends LocalDeclarationVisitor { |
bool targetIsFunctionalArgument; |
_LocalVisitor(this.request, int offset, this.optype) : super(offset) { |
- includeLocalInheritedTypes = !optype.inStaticMethodBody; |
+ // Suggestions for inherited members provided by InheritedReferenceContributor |
+ includeLocalInheritedTypes = false; // !optype.inStaticMethodBody; |
targetIsFunctionalArgument = request.target.isFunctionalArgument(); |
// If user typed identifier starting with '_' |