| Index: pkg/analysis_server/lib/src/services/completion/local_computer.dart
|
| diff --git a/pkg/analysis_server/lib/src/services/completion/local_computer.dart b/pkg/analysis_server/lib/src/services/completion/local_computer.dart
|
| index 2e1aa9e20ce1df861a43fe4fd95f10fa62716948..280b32e0858576f4e43499c50d474e0d14b5b270 100644
|
| --- a/pkg/analysis_server/lib/src/services/completion/local_computer.dart
|
| +++ b/pkg/analysis_server/lib/src/services/completion/local_computer.dart
|
| @@ -108,15 +108,15 @@ class _LocalVisitor extends LocalDeclarationVisitor {
|
| bool isDeprecated = _isDeprecated(fieldDecl) || _isDeprecated(varDecl);
|
| CompletionSuggestion suggestion = _addSuggestion(
|
| varDecl.name,
|
| - fieldDecl.fields.type,
|
| + null,
|
| fieldDecl.parent,
|
| isDeprecated);
|
| if (suggestion != null) {
|
| suggestion.element = _createElement(
|
| - protocol.ElementKind.GETTER,
|
| + protocol.ElementKind.FIELD,
|
| varDecl.name,
|
| null,
|
| - fieldDecl.fields.type,
|
| + null,
|
| false,
|
| isDeprecated);
|
| }
|
|
|