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

Unified Diff: pkg/analysis_server/lib/src/services/completion/dart/local_constructor_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/local_constructor_contributor.dart
diff --git a/pkg/analysis_server/lib/src/services/completion/dart/local_constructor_contributor.dart b/pkg/analysis_server/lib/src/services/completion/dart/local_constructor_contributor.dart
index f757376c651a6001d151a64e8efbf6eabe5bf27f..16379b2fb215ba42e4926b64028ee04974ab82e0 100644
--- a/pkg/analysis_server/lib/src/services/completion/dart/local_constructor_contributor.dart
+++ b/pkg/analysis_server/lib/src/services/completion/dart/local_constructor_contributor.dart
@@ -127,8 +127,7 @@ class _Visitor extends LocalDeclarationVisitor {
}
}
if (elem != null) {
- CompletionSuggestion suggestion = createSuggestion(
- elem, request.ideOptions,
+ CompletionSuggestion suggestion = createSuggestion(elem,
completion: completion, relevance: relevance);
if (suggestion != null) {
suggestions.add(suggestion);

Powered by Google App Engine
This is Rietveld 408576698