JVM IR: workaround indirect dependency between lowerings
#KT-51353 Fixed
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_STDLIB
|
||||
// FILE: 1.kt
|
||||
|
||||
val referenceFromOtherFile = O.A
|
||||
|
||||
// FILE: 2.kt
|
||||
|
||||
@JvmInline
|
||||
value class Z(val value: String)
|
||||
|
||||
object O {
|
||||
val A = Z("OK")
|
||||
val B = A
|
||||
}
|
||||
|
||||
fun box(): String = O.B.value
|
||||
Reference in New Issue
Block a user