Files
kotlin-fork/compiler/testData/debug/localVariables/destructuring/assignmentMultiline.kt
T
Alexander Udalov c885932a04 Tests: unmute debugging tests for FIR+JVM_IR
The differences between K1 and K2 are pretty unimportant in these tests.
2023-12-18 21:42:35 +00:00

34 lines
794 B
Kotlin
Vendored

// WITH_STDLIB
// FILE: test.kt
fun box(): String {
val p = "O" to "K"
val
(
o
,
k
)
=
p
return o + k
}
// EXPECTATIONS JVM_IR
// test.kt:6 box:
// EXPECTATIONS ClassicFrontend JVM_IR
// test.kt:15 box: p:kotlin.Pair=kotlin.Pair
// EXPECTATIONS JVM_IR
// test.kt:10 box: p:kotlin.Pair=kotlin.Pair
// test.kt:12 box: p:kotlin.Pair=kotlin.Pair, o:java.lang.String="O":java.lang.String
// test.kt:17 box: p:kotlin.Pair=kotlin.Pair, o:java.lang.String="O":java.lang.String, k:java.lang.String="K":java.lang.String
// EXPECTATIONS JS_IR
// test.kt:6 box:
// test.kt:10 box: p=kotlin.Pair
// test.kt:12 box: p=kotlin.Pair, o="O":kotlin.String
// test.kt:17 box: p=kotlin.Pair, o="O":kotlin.String, k="K":kotlin.String