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:
-1
@@ -1,6 +1,5 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
// IGNORE_BACKEND: JVM
|
||||
// IGNORE_INLINER: IR
|
||||
// WITH_REFLECT
|
||||
// FILE: 1.kt
|
||||
package test
|
||||
|
||||
-1
@@ -1,5 +1,4 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
// IGNORE_INLINER: IR
|
||||
// WITH_REFLECT
|
||||
|
||||
import kotlin.reflect.*
|
||||
|
||||
Reference in New Issue
Block a user