[K1] Fix string offsets to include quotes in the same way it's done in FIR
This commit is contained in:
+3
-3
@@ -1,4 +1,4 @@
|
||||
// IGNORE_BACKEND_K2: WASM
|
||||
|
||||
// FILE: test.kt
|
||||
|
||||
fun box() {
|
||||
@@ -43,7 +43,7 @@ fun box() {
|
||||
// test.kt:5 $box (12, 4)
|
||||
// test.kt:6 $box (13, 11, 13, 17, 11, 11, 11, 13, 11, 13, 17, 11, 11, 11)
|
||||
// Primitives.kt:1159 $kotlin.Int__dec-impl (15, 8, 16, 15, 8, 16, 15, 8, 16, 15, 8, 16)
|
||||
// test.kt:7 $box (9, 9, 9, 9)
|
||||
// test.kt:7 $box (8, 8, 8, 8)
|
||||
// String.kt:141 $kotlin.stringLiteral (17, 28, 17, 17, 28, 17, 17, 28, 17)
|
||||
// Array.kt:59 $kotlin.Array.get (19, 26, 34, 8, 19, 26, 34, 8, 19, 26, 34, 8)
|
||||
// ThrowHelpers.kt:29 $kotlin.wasm.internal.rangeCheck (6, 14, 6, 19, 28, 19, 6, 14, 6, 19, 28, 19, 6, 14, 6, 19, 28, 19, 6, 14, 6, 19, 28, 19)
|
||||
@@ -58,7 +58,7 @@ fun box() {
|
||||
// Array.kt:76 $kotlin.Array.set
|
||||
// String.kt:149 $kotlin.stringLiteral (11, 4)
|
||||
// test.kt:10 $box (8, 4)
|
||||
// test.kt:12 $box (9, 9, 9, 9, 9, 9, 9, 9)
|
||||
// test.kt:12 $box (8, 8, 8, 8, 8, 8, 8, 8)
|
||||
// String.kt:143 $kotlin.stringLiteral (15, 8, 15, 8)
|
||||
// test.kt:13 $box (15, 13, 15, 19, 13, 13, 15, 13, 15, 19, 13, 13)
|
||||
// test.kt:14 $box
|
||||
|
||||
Reference in New Issue
Block a user