mirror of
https://github.com/github/codeql.git
synced 2026-04-26 01:05:15 +02:00
Kotlin/Java: children consistency query: extension receiver is now a gap
This commit is contained in:
@@ -29,6 +29,8 @@ predicate gapInChildren(Element e, int i) {
|
||||
and not e instanceof TryStmt
|
||||
// TODO: Tighten this up:
|
||||
and not e instanceof ForStmt
|
||||
// TODO: Tighten this up:
|
||||
and not e instanceof MethodAccess // extension receiver is now a gap for Java
|
||||
// Kotlin bug?
|
||||
and not (e instanceof MethodAccess and e.getFile().getExtension() = "kt")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user