| Index: pkg/analysis_server/lib/src/services/completion/dart/library_member_contributor.dart
|
| diff --git a/pkg/analysis_server/lib/src/services/completion/dart/library_member_contributor.dart b/pkg/analysis_server/lib/src/services/completion/dart/library_member_contributor.dart
|
| index 12692c0d826d064a21e2de5f27e5f6db5a9a33e7..9a98987c00215f95f175ae86a8f5d0236d245d65 100644
|
| --- a/pkg/analysis_server/lib/src/services/completion/dart/library_member_contributor.dart
|
| +++ b/pkg/analysis_server/lib/src/services/completion/dart/library_member_contributor.dart
|
| @@ -63,15 +63,19 @@ class LibraryMemberContributor extends DartCompletionContributor {
|
| bool typesOnly = parent is TypeName;
|
| bool instCreation = typesOnly && isConstructor;
|
| LibraryElementSuggestionBuilder builder =
|
| - new LibraryElementSuggestionBuilder(containingLibrary,
|
| - CompletionSuggestionKind.INVOCATION, typesOnly, instCreation);
|
| + new LibraryElementSuggestionBuilder(
|
| + containingLibrary,
|
| + CompletionSuggestionKind.INVOCATION,
|
| + typesOnly,
|
| + instCreation,
|
| + request.ideOptions);
|
| library.visitChildren(builder);
|
| suggestions.addAll(builder.suggestions);
|
|
|
| // If the import is 'deferred' then suggest 'loadLibrary'
|
| if (importElem.isDeferred) {
|
| FunctionElement loadLibFunct = library.loadLibraryFunction;
|
| - suggestions.add(createSuggestion(loadLibFunct));
|
| + suggestions.add(createSuggestion(loadLibFunct, request.ideOptions));
|
| }
|
| }
|
| }
|
|
|