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

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

Issue 962243003: fix constructor suggestion element names (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merge Created 5 years, 10 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_completion_cache.dart
diff --git a/pkg/analysis_server/lib/src/services/completion/dart_completion_cache.dart b/pkg/analysis_server/lib/src/services/completion/dart_completion_cache.dart
index 45d85fc6b89b13b8d0c69b59a6f5d08fd0da1152..7b56c5f98728efcb393f31cb5dc50ae2ff6ec1f0 100644
--- a/pkg/analysis_server/lib/src/services/completion/dart_completion_cache.dart
+++ b/pkg/analysis_server/lib/src/services/completion/dart_completion_cache.dart
@@ -186,7 +186,6 @@ class DartCompletionCache extends CompletionCache {
String name = suggestion.completion;
name = name.length > 0 ? '$className.$name' : className;
suggestion.completion = name;
- suggestion.element.name = name;
suggestion.selectionOffset = suggestion.completion.length;
importedConstructorSuggestions.add(suggestion);
}

Powered by Google App Engine
This is Rietveld 408576698