Fix ArrayStoreException from InlineClassAwareCaller.call
#KT-56650 Fixed
This commit is contained in:
committed by
Alexander Udalov
parent
10e9ef349f
commit
b039f2e574
+15
@@ -0,0 +1,15 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
|
||||
// WITH_REFLECT
|
||||
|
||||
@JvmInline
|
||||
value class Value(val value: String)
|
||||
|
||||
class A(val result: Value)
|
||||
|
||||
fun box(): String {
|
||||
val args: Array<Value> = arrayOf(Value("OK"))
|
||||
|
||||
val a = (::A).call(*args)
|
||||
return a.result.value
|
||||
}
|
||||
Reference in New Issue
Block a user