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

13 lines
232 B
Kotlin
Vendored

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