Skip to content

Commit 9c5ef89

Browse files
keertipCommit Queue
authored andcommitted
[Completion]Fix for adding duplicate rethrow keyword
Change-Id: Ia6b48b7e7058d856e4e28725327ecdfc6508b407 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/435300 Commit-Queue: Keerti Parthasarathy <[email protected]> Reviewed-by: Brian Wilkerson <[email protected]>
1 parent 73d2e85 commit 9c5ef89

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pkg/analysis_server/lib/src/services/completion/dart/in_scope_completion_pass.dart

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -531,9 +531,6 @@ class InScopeCompletionPass extends SimpleAstVisitor<void> {
531531
keywordHelper.addKeyword(Keyword.ELSE);
532532
}
533533
_forStatement(node);
534-
if (node.inCatchClause) {
535-
keywordHelper.addKeyword(Keyword.RETHROW);
536-
}
537534
}
538535

539536
@override

0 commit comments

Comments
 (0)