We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ErrorExpr
1 parent b8ef961 commit 5cc2868Copy full SHA for 5cc2868
java/ql/consistency-queries/cfgDeadEnds.ql
@@ -53,8 +53,6 @@ predicate shouldBeDeadEnd(ControlFlowNode n) {
53
not exists(n.getFile().getRelativePath()) // TODO
54
or
55
n = any(ConstCase c).getValue(_) // TODO
56
- or
57
- n instanceof ErrorExpr // TODO
58
}
59
60
from ControlFlowNode n, string s
java/ql/test/kotlin/library-tests/exprs/CONSISTENCY/cfgDeadEnds.expected
@@ -1 +1,2 @@
1
+| exprs.kt:278:52:278:66 | <error expr> | ErrorExpr | unexpected dead end |
2
| exprs.kt:278:52:278:66 | { ... } | BlockStmt | unexpected dead end |
0 commit comments