| Index: pkg/analysis_server/lib/src/services/completion/invocation_computer.dart
|
| diff --git a/pkg/analysis_server/lib/src/services/completion/invocation_computer.dart b/pkg/analysis_server/lib/src/services/completion/invocation_computer.dart
|
| index 798e69d999a3d437ca6e11863071a0b3367449e4..69debf42e0d662a5470585ab7a2d5ac5a2ee903d 100644
|
| --- a/pkg/analysis_server/lib/src/services/completion/invocation_computer.dart
|
| +++ b/pkg/analysis_server/lib/src/services/completion/invocation_computer.dart
|
| @@ -162,6 +162,21 @@ class _InvocationElementVisitor extends GeneralizingElementVisitor<Future<bool>>
|
| }
|
|
|
| @override
|
| + Future<bool> visitPropertyAccessorElement(PropertyAccessorElement element) {
|
| + if (element != null) {
|
| + PropertyInducingElement elemVar = element.variable;
|
| + if (elemVar != null) {
|
| + DartType type = elemVar.type;
|
| + if (type != null) {
|
| + ClassElementSuggestionBuilder.suggestionsFor(request, type.element);
|
| + }
|
| + }
|
| + return new Future.value(true);
|
| + }
|
| + return new Future.value(false);
|
| + }
|
| +
|
| + @override
|
| Future<bool> visitVariableElement(VariableElement element) {
|
| DartType type = element.type;
|
| if (type != null) {
|
|
|