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

Unified Diff: pkg/analysis_services/lib/completion/completion_suggestion.dart

Issue 440343003: incremental improvement to top level code completion results (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merge Created 6 years, 4 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_services/lib/completion/completion_suggestion.dart
diff --git a/pkg/analysis_services/lib/completion/completion_suggestion.dart b/pkg/analysis_services/lib/completion/completion_suggestion.dart
index 47c5e438629bddcb0fac5541c1d62e9dc712fc1a..af468bcfa5fc5225d90c4213000a48df9f699f37 100644
--- a/pkg/analysis_services/lib/completion/completion_suggestion.dart
+++ b/pkg/analysis_services/lib/completion/completion_suggestion.dart
@@ -27,6 +27,8 @@ class CompletionRelevance {
if (HIGH.name == name) return HIGH;
throw new ArgumentError('Unknown CompletionRelevance: $name');
}
+
+ toString() => 'CompletionRelevance.$name';
}
/**

Powered by Google App Engine
This is Rietveld 408576698