[Wasm] Boolean boxed instances are the same

Fixed #KT-65411
This commit is contained in:
Igor Yakovlev
2024-02-09 17:01:12 +01:00
committed by Space Team
parent a171f774be
commit a5ef668e3c
28 changed files with 190 additions and 7 deletions
+12 -2
View File
@@ -39,9 +39,19 @@ fun f(block: () -> Unit) {
// EXPECTATIONS WASM
// test.kt:1 $box
// test.kt:4 $box (12, 4)
// test.kt:4 $box (12, 12, 4)
// Runtime.kt:70 $kotlin.wasm.internal.getBoxedBoolean (8, 8)
// Runtime.kt:73 $kotlin.wasm.internal.getBoxedBoolean (8, 35)
// Standard.kt:71 $kotlin.wasm.internal.getBoxedBoolean (0, 0, 0, 0)
// Standard.kt:95 $kotlin.wasm.internal.getBoxedBoolean (4, 4)
// Standard.kt:98 $kotlin.wasm.internal.getBoxedBoolean (4, 10, 4, 4, 10, 4)
// Standard.kt:74 $kotlin.wasm.internal.getBoxedBoolean (15, 7)
// Standard.kt:99 $kotlin.wasm.internal.getBoxedBoolean (11, 4, 11, 4)
// Runtime.kt:74 $kotlin.wasm.internal.getBoxedBoolean (5, 5)
// test.kt:5 $box (6, 6, 4)
// test.kt:11 $f
// test.kt:6 $box$lambda.invoke (8, 12, 12, 12, 12, 8, 16)
// test.kt:6 $box$lambda.invoke (8, 12, 8, 16)
// Runtime.kt:71 $kotlin.wasm.internal.getBoxedBoolean (8, 33)
// Standard.kt:68 $kotlin.wasm.internal.getBoxedBoolean (25, 25, 25, 25, 45, 38)
// test.kt:12 $f
// test.kt:8 $box