This code stopped working in 1.9.20. It worked in ...
# javascript
r
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
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
Which effect you need in result? For values you can use
Object.values
(wrappers)
Object.keys
also available