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 4385ec421c74e564c2298883edd409b4b69eec08..078959a84b1d58bfd02e8c22a06ec3b8b5ab0026 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 |
@@ -55,19 +55,15 @@ class LibraryMemberContributor extends DartCompletionContributor { |
bool typesOnly = parent is TypeName; |
bool instCreation = typesOnly && isConstructor; |
LibraryElementSuggestionBuilder builder = |
- new LibraryElementSuggestionBuilder( |
- containingLibrary, |
- CompletionSuggestionKind.INVOCATION, |
- typesOnly, |
- instCreation, |
- request.ideOptions); |
+ new LibraryElementSuggestionBuilder(containingLibrary, |
+ CompletionSuggestionKind.INVOCATION, typesOnly, instCreation); |
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, request.ideOptions)); |
+ suggestions.add(createSuggestion(loadLibFunct)); |
} |
} |
} |