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

Skip to content

Commit 7ca6da1

Browse files
committed
Kotlin/Java: children consistency query: extension receiver is now a gap
1 parent 75e22da commit 7ca6da1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

java/ql/consistency-queries/children.ql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ predicate gapInChildren(Element e, int i) {
2929
and not e instanceof TryStmt
3030
// TODO: Tighten this up:
3131
and not e instanceof ForStmt
32+
// TODO: Tighten this up:
33+
and not e instanceof MethodAccess // extension receiver is now a gap for Java
3234
// Kotlin bug?
3335
and not (e instanceof MethodAccess and e.getFile().getExtension() = "kt")
3436
}

0 commit comments

Comments
 (0)