bf3f6594d5
Losing an annotation like `JvmName` resulted in the incorrect bytecode generated in the JVM IR backend. #KT-44160 Fixed
12 lines
175 B
Kotlin
Vendored
12 lines
175 B
Kotlin
Vendored
// 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()
|