arturo
arturo copied to clipboard
[VM/exec] Should also catch any *CatchableError* in `handleBranching`?
[VM/exec] Should also catch any CatchableError in handleBranching
?
https://github.com/arturo-lang/arturo/blob/bcfb0033d2c5f3172a9f236298f80474a3d36458/src/vm/exec.nim#L199
Syms[toRestoreKey] = move toRestoreVal
# TODO(VM/exec) Should also catch any *CatchableError* in `handleBranching`?
# labels: vm, execution, error handling
template handleBranching*(tryDoing, finalize: untyped): untyped =
## Wrapper for code that may throw *Break* or *Continue* signals,
## or other errors that are to be caught
ndex d0f92b3338..7fa4f3a2c4 100644
++ b/src/vm/globals.nim
185364b7d5d0339252832c60ca7de0ecaf890ebc
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Closing issue as stale.