16 lines
276 B
Kotlin
Vendored
16 lines
276 B
Kotlin
Vendored
// DONT_TARGET_EXACT_BACKEND: WASM
|
|
// WASM_MUTE_REASON: PROPERTY_REFERENCES
|
|
import kotlin.reflect.KProperty1
|
|
|
|
class A {
|
|
companion object {
|
|
val ref: KProperty1<A, String> = A::foo
|
|
}
|
|
|
|
val foo: String = "OK"
|
|
}
|
|
|
|
fun box(): String {
|
|
return A.ref.get(A())
|
|
}
|