Kotlin: Add an exception for a consistency check

This commit is contained in:
Ian Lynagh
2021-11-17 20:41:06 +00:00
parent be5e478718
commit 22c87b20cc

View File

@@ -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) {