14 lines
196 B
Kotlin
Vendored
14 lines
196 B
Kotlin
Vendored
// FIR_IDENTICAL
|
|
// !DIAGNOSTICS:-UNUSED_VARIABLE
|
|
|
|
import kotlin.reflect.*
|
|
|
|
class A {
|
|
fun foo() {}
|
|
}
|
|
|
|
fun A?.foo() {}
|
|
|
|
val f: KFunction1<A, Unit> = A::foo
|
|
val g: KFunction1<A, Unit> = A?::foo
|