Files
kotlin/compiler/testData/codegen/boxWithStdlib/callableReference/property/kClassInstanceIsInitializedFirst.kt

14 lines
210 B
Kotlin

import kotlin.reflect.KMemberProperty
class A {
companion object {
val ref: KMemberProperty<A, String> = A::foo
}
val foo: String = "OK"
}
fun box(): String {
return A.ref.get(A())
}