JVM_IR: fix parallel compilation
Non-static inline functions that return inline classes need to be tracked when copying files for by-file lowering. FIXED: KT-45680
This commit is contained in:
committed by
teamcityserver
parent
594cc29dd2
commit
40872dd4ca
@@ -0,0 +1,17 @@
|
||||
// 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user