[Reflection] Fix parsing JVM function descriptors

#KT-60708
This commit is contained in:
Evgeniy.Zhelenskiy
2023-07-26 09:04:02 +02:00
committed by Space Team
parent df14f044cd
commit b89d8a65a1
8 changed files with 66 additions and 13 deletions
@@ -0,0 +1,15 @@
// TARGET_BACKEND: JVM_IR
// IGNORE_DEXING
// WITH_REFLECT
data class `)))`(val value: Int)
interface `)` {
fun f(i1: `)))` = `)))`(1)): Int
}
data class `))`(val x: Int): `)` {
override fun f(i1: `)))`) = x + i1.value
}
fun box(): String = if (`))`(2)::f.callBy(mapOf()) == 3) "OK" else "NOT OK"