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

12 lines
167 B
Kotlin

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