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

Skip to content

Commit db7f5a0

Browse files
committed
Kotlin: BreakStmt CFG isn't handled properly yet
1 parent 712d702 commit db7f5a0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

java/ql/consistency-queries/cfgDeadEnds.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import java
22
import semmle.code.java.ControlFlowGraph
33

44
predicate shouldBeDeadEnd(ControlFlowNode n) {
5-
n.getFile().getExtension() = "kt" or // Kotlin currently has bugs
5+
n instanceof BreakStmt and n.getFile().getExtension() = "kt" or // TODO
66
n instanceof Interface or // TODO
77
n instanceof Class or // TODO
88
n instanceof Parameter or // TODO

0 commit comments

Comments
 (0)