mirror of
https://github.com/github/codeql.git
synced 2026-05-01 03:35:13 +02:00
Kotlin: BreakStmt CFG isn't handled properly yet
This commit is contained in:
@@ -2,7 +2,7 @@ import java
|
||||
import semmle.code.java.ControlFlowGraph
|
||||
|
||||
predicate shouldBeDeadEnd(ControlFlowNode n) {
|
||||
n.getFile().getExtension() = "kt" or // Kotlin currently has bugs
|
||||
n instanceof BreakStmt 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