FIR: serialize correct fqnames for local classes

This commit is contained in:
pyos
2020-12-04 12:05:27 +01:00
committed by Mikhail Glukhikh
parent 12f936f6b7
commit 41f56729f9
12 changed files with 65 additions and 24 deletions
@@ -0,0 +1,10 @@
// TARGET_BACKEND: JVM
// WITH_REFLECT
// WITH_RUNTIME
import kotlin.reflect.full.declaredMemberProperties
fun box(): String {
class A(val x: String)
class B(val y: A)
return (B::class.declaredMemberProperties.single().invoke(B(A("OK"))) as A).x
}