FIR: fix serialization of JvmField-properties of local classes

#KT-48175 Fixed
This commit is contained in:
Mikhail Glukhikh
2021-08-09 17:47:52 +03:00
parent 2e2edf398c
commit f6413c41a0
4 changed files with 27 additions and 5 deletions
@@ -0,0 +1,11 @@
// TARGET_BACKEND: JVM_IR
// WITH_RUNTIME
fun box(): String {
class Bean {
@JvmField
val a: String = "OK"
}
return Bean().a
}