JVM_IR: do not inherit delegated property trackers

This is no longer needed now that lambdas are generated before
`$$delegatedProperties`.
This commit is contained in:
pyos
2020-09-25 14:58:39 +02:00
committed by Alexander Udalov
parent 05c856f1f7
commit a6c62d3339
16 changed files with 97 additions and 40 deletions
@@ -0,0 +1,19 @@
// 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()