Files
kotlin-fork/compiler/testData/codegen/box/properties/companionPrivateFieldInsideLambda.kt
T
2020-03-10 15:19:34 +03:00

10 lines
172 B
Kotlin
Vendored

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