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

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

Issue 1048303003: suggest dynamic and void when defining new compilation unit members (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merge Created 5 years, 9 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/analysis_server/test/services/completion/keyword_computer_test.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/keyword_computer.dart
diff --git a/pkg/analysis_server/lib/src/services/completion/keyword_computer.dart b/pkg/analysis_server/lib/src/services/completion/keyword_computer.dart
index 24415bd5a58187abe407929d9f75958e8c0370e3..6e0b99c831432392071a73497fd5c70484fd49f4 100644
--- a/pkg/analysis_server/lib/src/services/completion/keyword_computer.dart
+++ b/pkg/analysis_server/lib/src/services/completion/keyword_computer.dart
@@ -119,9 +119,11 @@ class _KeywordVisitor extends GeneralizingAstVisitor {
Keyword.ABSTRACT,
Keyword.CLASS,
Keyword.CONST,
+ Keyword.DYNAMIC,
Keyword.FINAL,
Keyword.TYPEDEF,
- Keyword.VAR
+ Keyword.VAR,
+ Keyword.VOID
], DART_RELEVANCE_HIGH);
}
}
« no previous file with comments | « no previous file | pkg/analysis_server/test/services/completion/keyword_computer_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698