[Reflection] Fix parsing JVM function descriptors
#KT-60708
This commit is contained in:
committed by
Space Team
parent
df14f044cd
commit
b89d8a65a1
@@ -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"
|
||||
Reference in New Issue
Block a user