This code stopped working in 1.9.20. It worked in 1.9.10 and earlier versions (you can test 1.8.x in the playground).
https://pl.kotl.in/OLrWyr37a
Is there an issue on YT about this change? I know the code is "ugly" (probably even wrong) but the change crashed my application in production (haven't expected this doing a minor Kotlin upgrade) ð
ðĪŠ 1
j
jw
01/08/2024, 4:26 PM
The introduction of
..<
seems to have caused a bunch of lowerings to no longer apply correctly.
That being said... a JS object is not a Kotlin array (or JS array) so crashing seems like the right behavior and you were just getting lucky before because JS is so forgiving.
â 1
t
turansky
01/09/2024, 1:16 AM
Which effect you need in result?
For values you can use