mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
25 lines
322 B
Kotlin
25 lines
322 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) {}
|
|
|
|
class C {
|
|
companion object {}
|
|
}
|
|
|
|
object O {}
|
|
|
|
fun C.fn() {}
|
|
fun C.Companion.fn() {}
|
|
fun O.fn() {}
|
|
|
|
@Suppress("UNUSED_PARAMETER")
|
|
fun fn2(a: Int) {}
|