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

Skip to content

Commit 8440baf

Browse files
committed
Kotlin: Add CFG for KtAnonymousClassDeclarationStmt
1 parent 5ae7494 commit 8440baf

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -972,6 +972,10 @@ private module ControlFlowGraphImpl {
972972
completion = YieldCompletion(branchCompletion)
973973
)
974974
)
975+
or
976+
n instanceof KtAnonymousClassDeclarationStmt and
977+
last = n and
978+
completion = NormalCompletion()
975979
}
976980

977981
/**

0 commit comments

Comments
 (0)