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 f63d8a8 commit 486e8f3Copy full SHA for 486e8f3
ruby/ql/lib/codeql/ruby/controlflow/internal/ControlFlowGraphImpl.qll
@@ -1319,6 +1319,11 @@ module Trees {
1319
last(super.getBody(), pred, c) and
1320
c instanceof NormalCompletion and
1321
succ = this
1322
+ or
1323
+ pred = super.getBody().getAStmt().getAChild*() and
1324
+ pred instanceof RetryStmt and
1325
+ c instanceof RetryCompletion and
1326
+ exists(BodyStmtTree stmt | this = stmt.getARescue() | first(stmt, succ))
1327
}
1328
1329
0 commit comments