Files
kotlin-fork/compiler/testData/codegen/box/syntheticAccessors/kt21258_indirect.kt
T

9 lines
172 B
Kotlin
Vendored

class Foo {
private val fld: String = "O"
get() = { field }() + "K"
val indirectFldGetter: () -> String = { fld }
}
fun box() = Foo().indirectFldGetter()