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 ae86fcb commit f447d40Copy full SHA for f447d40
1 file changed
java/ql/consistency-queries/children.ql
@@ -43,6 +43,8 @@ predicate lateFirstChild(Element e, int i) {
43
and not e instanceof LocalVariableDeclStmt
44
// TODO: Tighten this up:
45
and not e instanceof ForStmt
46
+ // TODO: This happens for anonymous class instantiations at the moment:
47
+ and not (e instanceof BlockStmt and i = 1 and e.getFile().getExtension() = "kt")
48
}
49
50
from Element e, int i, string problem
0 commit comments