Files
codeql/java/ql/test/kotlin/query-tests/UselessParameter/Test.kt
2022-10-12 12:42:27 +02:00

12 lines
169 B
Kotlin

interface A<T, V> {
fun setValue(a: T, b: V)
}
class B : A<B, Int> {
override fun setValue(a: B, b: Int) {
println("a")
}
}
fun fn(a: Int = 10) {}