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

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

Issue 1539693002: move DartCompletionSorter to dart specific contributor (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: merge Created 5 years 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
« no previous file with comments | « no previous file | pkg/analysis_server/lib/src/services/completion/dart/completion_manager.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/lib/src/services/completion/dart/common_usage_sorter.dart
diff --git a/pkg/analysis_server/lib/src/services/completion/dart/common_usage_sorter.dart b/pkg/analysis_server/lib/src/services/completion/dart/common_usage_sorter.dart
index 312037eb8b75378509812a6d3931c31bbd9fc90d..6e8049b1c4570b49833b96cca9cff71c4d0af2f4 100644
--- a/pkg/analysis_server/lib/src/services/completion/dart/common_usage_sorter.dart
+++ b/pkg/analysis_server/lib/src/services/completion/dart/common_usage_sorter.dart
@@ -38,8 +38,8 @@ class CommonUsageSorter implements DartContributionSorter {
CommonUsageSorter([this.selectorRelevance = defaultSelectorRelevance]);
@override
- Future sort(
- CompletionRequest request, Iterable<CompletionSuggestion> suggestions) {
+ Future sort(DartCompletionRequest request,
+ Iterable<CompletionSuggestion> suggestions) {
_update(request, suggestions);
return new Future.value();
}
« no previous file with comments | « no previous file | pkg/analysis_server/lib/src/services/completion/dart/completion_manager.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698