[JS IR] Explicitly cast to a string all types except specific ones

^KT-62763 Fixed
This commit is contained in:
Alexander Korepanov
2023-11-22 17:43:23 +01:00
committed by Space Team
parent 70d99e1964
commit 41ebe498f2
4 changed files with 36 additions and 29 deletions
@@ -3,7 +3,7 @@ package foo
fun box(): String {
assertEquals(2, fizz(arrayOf(1, 2))[buzz(1)])
assertEquals("fizz(1,2);buzz(1);", pullLog())
assertEquals("fizz([...]);buzz(1);", pullLog())
return "OK"
}
}