forked from M-Labs/nac3
1
0
Fork 0
nac3/nac3core
David Mak 48c6498d1f core: Fix restoration of loop target in try statement
old_loop_target is only assigned if ctx.loop_target is overwritten,
meaning that if ctx.loop_target is never overwritten, ctx.loop_target
will always be overwritten to None.

We fix this by only restoring from old_loop_target if we previously
assigned to old_loop_target.
2023-09-28 20:00:02 +08:00
..
src core: Fix restoration of loop target in try statement 2023-09-28 20:00:02 +08:00
Cargo.toml meta: Update to Rust Edition 2021 2023-09-15 10:25:50 +08:00
build.rs irrt: normalize end-of-line characters. Closes #231 2022-03-22 16:04:48 +08:00