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 fde8bfb2c045b23445e278ab2c90fc3fa2f5ab32..3ebc67ef59a6155f6b0f3417261f40bbebe32b1b 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 |
@@ -92,7 +92,7 @@ class CommonUsageSorter implements DartContributionSorter { |
void _updateInvocationRelevance(DartType type, LibraryElement libElem, |
Iterable<CompletionSuggestion> suggestions) { |
String typeName = type.name; |
- List<String> selectors = selectorRelevance['${libElem.name}.${typeName}']; |
+ List<String> selectors = selectorRelevance['${libElem.name}.$typeName']; |
if (selectors != null) { |
for (CompletionSuggestion suggestion in suggestions) { |
protocol.Element element = suggestion.element; |