mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
Kotlin: Add an exception for a consistency check
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
|
||||
// Kotlin bug?
|
||||
and not (e instanceof MethodAccess and e.getFile().getExtension() = "kt")
|
||||
}
|
||||
|
||||
predicate lateFirstChild(Element e, int i) {
|
||||
|
||||
Reference in New Issue
Block a user