IR: do not lose $default function annotations when generating calls
Losing an annotation like `JvmName` resulted in the incorrect bytecode generated in the JVM IR backend. #KT-44160 Fixed
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_RUNTIME
|
||||
// FILE: 1.kt
|
||||
package test
|
||||
|
||||
@JvmName("jvmName")
|
||||
inline fun f(s: String = "OK"): String = s
|
||||
|
||||
// FILE: 2.kt
|
||||
|
||||
fun box(): String = test.f()
|
||||
Reference in New Issue
Block a user