| Index: pkg/analysis_server/lib/src/services/completion/optype.dart
|
| diff --git a/pkg/analysis_server/lib/src/services/completion/optype.dart b/pkg/analysis_server/lib/src/services/completion/optype.dart
|
| index f928df25ac033e68f9f5af98f83394677b103d72..d2d6f6c78e0bb8fcc8ec56f7b7e334979449b277 100644
|
| --- a/pkg/analysis_server/lib/src/services/completion/optype.dart
|
| +++ b/pkg/analysis_server/lib/src/services/completion/optype.dart
|
| @@ -401,7 +401,7 @@ class _OpTypeAstVisitor extends GeneralizingAstVisitor {
|
|
|
| @override
|
| void visitMethodInvocation(MethodInvocation node) {
|
| - if (identical(entity, node.period) && offset > node.period.offset) {
|
| + if (identical(entity, node.operator) && offset > node.operator.offset) {
|
| // The cursor is between the two dots of a ".." token, so we need to
|
| // generate the completions we would generate after a "." token.
|
| optype.includeInvocationSuggestions = true;
|
|
|