Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(854)

Unified Diff: pkg/analysis_server/lib/src/services/completion/dart/library_member_contributor.dart

Issue 2924633002: Remove unused IdeOptions (Closed)
Patch Set: reverse default Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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));
}
}
}

Powered by Google App Engine
This is Rietveld 408576698