Files
kotlin-fork/compiler/testData/codegen/box/properties/companionPrivateFieldInsideLambda.kt
T
2018-06-28 12:26:41 +02:00

11 lines
198 B
Kotlin
Vendored

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