Find correct class owner for inlined local delegated properties

Note that call-site class has no metadata for inlined local delegated
properties. Thus, for an inlined local delegated property we should
obtain declaration-site class as owner - otherwise, the corresponding
`PropertyReference` will have an owner without property metadata.
This commit is contained in:
vladislav.grechko
2023-06-22 20:23:58 +02:00
parent d6d1ed6c35
commit a6e45f9b59
3 changed files with 22 additions and 10 deletions
@@ -1,6 +1,5 @@
// TARGET_BACKEND: JVM
// IGNORE_BACKEND: JVM
// IGNORE_INLINER: IR
// WITH_REFLECT
// FILE: 1.kt
package test
@@ -1,5 +1,4 @@
// TARGET_BACKEND: JVM
// IGNORE_INLINER: IR
// WITH_REFLECT
import kotlin.reflect.*