| 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 4921e5f16f21f2d68f0455750ba7b1640eb2f12b..3d56c873792562172c17ea61c010e2e8b912eb1f 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
|
| @@ -38,18 +38,6 @@ class LocalReferenceContributor extends DartCompletionContributor {
|
| DartCompletionRequest request) async {
|
| OpType optype = (request as DartCompletionRequestImpl).opType;
|
|
|
| - // Resolve the expression in which the completion occurs
|
| - // to properly determine if identifiers should be suggested
|
| - // rather than invocations.
|
| - if (request.target.maybeFunctionalArgument()) {
|
| - Expression expression =
|
| - request.target.containingNode.getAncestor((p) => p is Expression);
|
| - if (expression != null) {
|
| - await request.resolveExpression(expression);
|
| - optype = (request as DartCompletionRequestImpl).opType;
|
| - }
|
| - }
|
| -
|
| // Collect suggestions from the specific child [AstNode] that contains
|
| // the completion offset and all of its parents recursively.
|
| if (!optype.isPrefixed) {
|
|
|