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:
Georgy Bronnikov
2021-06-21 18:07:48 +03:00
committed by teamcityserver
parent 594cc29dd2
commit 40872dd4ca
5 changed files with 38 additions and 0 deletions
@@ -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