mirror of
https://github.com/github/codeql.git
synced 2025-12-21 19:26:31 +01:00
Kotlin: Exclude .kt files from missing instanceof in equals query
This commit is contained in:
@@ -17,3 +17,9 @@ data class G(val x: Int) {
|
||||
return other != null && other.javaClass == this.javaClass
|
||||
}
|
||||
}
|
||||
|
||||
data class H(val x: Int) {
|
||||
override fun equals(other: Any?): Boolean {
|
||||
return other != null
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user