a6c62d3339
This is no longer needed now that lambdas are generated before `$$delegatedProperties`.
20 lines
368 B
Kotlin
Vendored
20 lines
368 B
Kotlin
Vendored
// IGNORE_BACKEND_MULTI_MODULE: JVM, JVM_MULTI_MODULE_IR_AGAINST_OLD
|
|
// FILE: test.kt
|
|
package test
|
|
|
|
import kotlin.reflect.KProperty
|
|
|
|
inline operator fun String.getValue(t:Any?, p: KProperty<*>): String = p.name + this
|
|
|
|
object C {
|
|
inline fun inlineFun() = {
|
|
val O by "K"
|
|
O
|
|
}()
|
|
}
|
|
|
|
// FILE: box.kt
|
|
import test.*
|
|
|
|
fun box(): String = C.inlineFun()
|