Skip to content

Commit 7a136f6

Browse files
committed
ruby: start enabling retry stmt
we should convince ourselves, that it is not enabled already..
1 parent 394b5bf commit 7a136f6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ruby/ql/lib/codeql/ruby/controlflow/internal/Completion.qll

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ private predicate completionIsValidForStmt(AstNode n, Completion c) {
6969
or
7070
n instanceof ReturnStmt and
7171
c = TReturnCompletion()
72+
or
73+
n instanceof RetryStmt and
74+
c = TRetryCompletion()
7275
}
7376

7477
private AstNode getARescuableBodyChild() {

0 commit comments

Comments
 (0)