10 lines
202 B
Kotlin
Vendored
10 lines
202 B
Kotlin
Vendored
// IGNORE_BACKEND_FIR: JVM_IR
|
|
class Foo {
|
|
private val fld: String = "O"
|
|
get() = { field }() + "K"
|
|
|
|
val indirectFldGetter: () -> String = { fld }
|
|
}
|
|
|
|
fun box() = Foo().indirectFldGetter()
|