40872dd4ca
Non-static inline functions that return inline classes need to be tracked when copying files for by-file lowering. FIXED: KT-45680
18 lines
250 B
Kotlin
Vendored
18 lines
250 B
Kotlin
Vendored
// TARGET_BACKEND: JVM_IR
|
|
// WITH_RUNTIME
|
|
// FILE: R.kt
|
|
import kotlin.jvm.JvmInline
|
|
|
|
@JvmInline
|
|
value class R(val value: String) {
|
|
companion object {
|
|
inline fun ok() = R("OK")
|
|
}
|
|
}
|
|
|
|
// FILE: test.kt
|
|
|
|
fun box(): String = R.ok().value
|
|
|
|
|