Files
kotlin-fork/compiler/testData/codegen/box/delegatedProperty/optimizedDelegatedProperties/kt42253.kt
T
2020-10-07 14:31:01 +02:00

17 lines
317 B
Kotlin
Vendored

import kotlin.reflect.KProperty
inline operator fun String.getValue(t:Any?, p: KProperty<*>): String = p.name + this
object ForceOutOfOrder {
fun callInline() = C.inlineFun()
}
object C {
inline fun inlineFun() = {
val O by "K"
O
}()
}
fun box(): String = ForceOutOfOrder.callInline()