Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 712d702 commit db7f5a0Copy full SHA for db7f5a0
1 file changed
java/ql/consistency-queries/cfgDeadEnds.ql
@@ -2,7 +2,7 @@ import java
2
import semmle.code.java.ControlFlowGraph
3
4
predicate shouldBeDeadEnd(ControlFlowNode n) {
5
- n.getFile().getExtension() = "kt" or // Kotlin currently has bugs
+ n instanceof BreakStmt and n.getFile().getExtension() = "kt" or // TODO
6
n instanceof Interface or // TODO
7
n instanceof Class or // TODO
8
n instanceof Parameter or // TODO
0 commit comments