mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
Kotlin: Fix CFG for StmtExpr
This commit is contained in:
@@ -609,6 +609,8 @@ private module ControlFlowGraphImpl {
|
||||
or
|
||||
result = n and n instanceof WhenBranch
|
||||
or
|
||||
result = n and n instanceof StmtExpr
|
||||
or
|
||||
result = n and n.(PostOrderNode).isLeafNode()
|
||||
or
|
||||
result = first(n.(PostOrderNode).firstChild())
|
||||
|
||||
Reference in New Issue
Block a user