korge
korge copied to clipboard
WASM: Can't catch index out of bounds and divide by 0 exceptions?
https://youtrack.jetbrains.com/issue/KT-59081
https://youtrack.jetbrains.com/issue/KT-59081/WASM-Cant-catch-index-out-of-bounds-and-divide-by-0-exceptions#focus=Comments-27-9038762.0-0
Now the OOB exceptions are not throwing in a matter of code size and code speed. Please use
-Xwasm-enable-array-range-checksto enable OOB checking.