We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9ba43d commit eb9cc6fCopy full SHA for eb9cc6f
pkg/analysis_server/lib/src/services/completion/dart/keyword_helper.dart
@@ -585,13 +585,6 @@ class KeywordHelper {
585
/// beginning of a statement. The [node] provides context to determine which
586
/// keywords to include.
587
void addStatementKeywords(AstNode node) {
588
- if (node.inAsyncMethodOrFunction) {
589
- addKeyword(Keyword.AWAIT);
590
- } else if (node.inAsyncStarOrSyncStarMethodOrFunction) {
591
592
- addKeyword(Keyword.YIELD);
593
- addKeywordAndText(Keyword.YIELD, '*');
594
- }
595
if (node.inLoop) {
596
addKeyword(Keyword.BREAK);
597
addKeyword(Keyword.CONTINUE);
0 commit comments