Files
kotlin-fork/compiler/testData/codegen/box/properties/companionPrivateFieldInsideLambda.kt
T
2019-11-19 11:00:09 +03:00

11 lines
202 B
Kotlin
Vendored

// IGNORE_BACKEND_FIR: JVM_IR
class My {
companion object {
private val my: String = "O"
get() = { field }() + "K"
fun getValue() = my
}
}
fun box() = My.getValue()