Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parallel -> Catch Behavior #2

Open
totherik opened this issue Apr 5, 2017 · 0 comments
Open

Parallel -> Catch Behavior #2

totherik opened this issue Apr 5, 2017 · 0 comments

Comments

@totherik
Copy link
Owner

totherik commented Apr 5, 2017

The specification is ambiguous as to how to deal with the behavior of Catch when in a Parallel State. The spec says:

If any branch fails, due to an unhandled error or by transitioning to a Fail state, the entire Parallel state is considered to have failed and all the branches are terminated. If the error is not handled by the Parallel State, the interpreter should terminate the machine execution with an error.

So I take that to mean the first error encountered across any parallel branch is singled out and passed to Catch, ignoring/terminating all other branches.

This need to just be codified and implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant