mirror of
https://github.com/github/codeql.git
synced 2026-04-26 17:25:19 +02:00
Kotlin: ReturnStmt CFG isn't handled properly yet
This commit is contained in:
@@ -3,6 +3,7 @@ import semmle.code.java.ControlFlowGraph
|
||||
|
||||
predicate shouldBeDeadEnd(ControlFlowNode n) {
|
||||
n instanceof BreakStmt and n.getFile().getExtension() = "kt" or // TODO
|
||||
n instanceof ReturnStmt and n.getFile().getExtension() = "kt" or // TODO
|
||||
n instanceof Interface or // TODO
|
||||
n instanceof Class or // TODO
|
||||
n instanceof Parameter or // TODO
|
||||
|
||||
Reference in New Issue
Block a user