arturo icon indicating copy to clipboard operation
arturo copied to clipboard

[VM/exec] Should also catch any *CatchableError* in `handleBranching`?

Open github-actions[bot] opened this issue 1 year ago • 2 comments

[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

github-actions[bot] avatar Mar 16 '23 17:03 github-actions[bot]

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.

stale[bot] avatar Nov 11 '23 17:11 stale[bot]

Closing issue as stale.

stale[bot] avatar Mar 13 '24 23:03 stale[bot]