Kotlin: BreakStmt CFG isn't handled properly yet

This commit is contained in:
Ian Lynagh
2021-11-26 14:36:51 +00:00
parent 712d70248a
commit db7f5a04be

View File

@@ -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