break
within the else clause of an if
within a while loop traps
#1239
Labels
break
within the else clause of an if
within a while loop traps
#1239
Program:
compiled with:
asc test.ts -o test.wasm -O3 --runtime none
run with wasmtime results in
I originally discovered this running on Node.js, but checked with wasmtime as well.
If the logic is reversed and the break is in the
if
clause, this works just fine.The text was updated successfully, but these errors were encountered: