mirror of
https://github.com/github/codeql.git
synced 2025-12-20 10:46:30 +01:00
Kotlin: Exclude .kt files from missing instanceof in equals query
This commit is contained in:
@@ -64,6 +64,7 @@ class UnimplementedEquals extends EqualsMethod {
|
||||
|
||||
from EqualsMethod m
|
||||
where
|
||||
m.getFile().isJavaSourceFile() and
|
||||
exists(m.getBody()) and
|
||||
exists(Parameter p | p = m.getAParameter() |
|
||||
// The parameter has no type test
|
||||
|
||||
Reference in New Issue
Block a user