Skip to content

Commit 06fecf3

Browse files
committed
Swift: Include 'any!' in the the CFG tree for 'any' expressions.
1 parent add9e9d commit 06fecf3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

swift/ql/lib/codeql/swift/controlflow/internal/ControlFlowGraphImpl.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1676,8 +1676,8 @@ module Exprs {
16761676
}
16771677
}
16781678

1679-
private class TryTree extends AstStandardPostOrderTree {
1680-
override TryExpr ast;
1679+
private class AnyTryTree extends AstStandardPostOrderTree {
1680+
override AnyTryExpr ast;
16811681

16821682
override ControlFlowElement getChildElement(int i) {
16831683
i = 0 and

0 commit comments

Comments
 (0)