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:
+19
@@ -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()
|
||||
Reference in New Issue
Block a user