| 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 96b89bf64a0b232228f3fb580c7c3911bf9348db..a7c70531d6a994836503e5b0a3b1bdbd1a8067f5 100644
|
| --- a/pkg/analysis_server/lib/src/services/completion/optype.dart
|
| +++ b/pkg/analysis_server/lib/src/services/completion/optype.dart
|
| @@ -508,6 +508,14 @@ class _OpTypeAstVisitor extends GeneralizingAstVisitor {
|
| }
|
|
|
| @override
|
| + void visitVariableDeclarationList(VariableDeclarationList node) {
|
| + if ((node.keyword == null || node.keyword.lexeme != 'var') &&
|
| + (node.type == null)) {
|
| + optype.includeTypeNameSuggestions = true;
|
| + }
|
| + }
|
| +
|
| + @override
|
| void visitVariableDeclarationStatement(VariableDeclarationStatement node) {}
|
|
|
| @override
|
|
|