Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2135a87

Browse files
committed
Kotlin: Fix CFG for StmtExpr
1 parent 2e5cf92 commit 2135a87

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

java/ql/lib/semmle/code/java/ControlFlowGraph.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -609,6 +609,8 @@ private module ControlFlowGraphImpl {
609609
or
610610
result = n and n instanceof WhenBranch
611611
or
612+
result = n and n instanceof StmtExpr
613+
or
612614
result = n and n.(PostOrderNode).isLeafNode()
613615
or
614616
result = first(n.(PostOrderNode).firstChild())

0 commit comments

Comments
 (0)