Exclude .kt files from one stmt in line query

This commit is contained in:
Tamas Vajk
2022-11-16 15:11:38 +01:00
parent 0d70b5c776
commit c9241cc933
2 changed files with 1 additions and 1 deletions

View File

@@ -37,6 +37,7 @@ predicate oneLineStatement(Stmt s, File f, int line, int col) {
from Stmt s, Stmt s2
where
exists(File f, int line, int col, int col2 |
f.isJavaSourceFile() and
oneLineStatement(s, f, line, col) and
oneLineStatement(s2, f, line, col2) and
col < col2 and