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

Unified Diff: pkg/analyzer_plugin/lib/src/utilities/completion/completion_core.dart

Issue 2927663002: Port two completion contributors for use by plugins (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | pkg/analyzer_plugin/lib/src/utilities/completion/suggestion_builder.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer_plugin/lib/src/utilities/completion/completion_core.dart
diff --git a/pkg/analyzer_plugin/lib/src/utilities/completion/completion_core.dart b/pkg/analyzer_plugin/lib/src/utilities/completion/completion_core.dart
index e33cb3f5f5670d4103b52ddff53dd15471bb5471..d86c2faf0646b8717b88309502936896d53be929 100644
--- a/pkg/analyzer_plugin/lib/src/utilities/completion/completion_core.dart
+++ b/pkg/analyzer_plugin/lib/src/utilities/completion/completion_core.dart
@@ -26,7 +26,7 @@ class CompletionCollectorImpl implements CompletionCollector {
/**
* A list of the completion suggestions that have been collected.
*/
- List<CompletionSuggestion> suggestions;
+ List<CompletionSuggestion> suggestions = <CompletionSuggestion>[];
/**
* Initialize a newly created completion collector.
« no previous file with comments | « no previous file | pkg/analyzer_plugin/lib/src/utilities/completion/suggestion_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698