-
Notifications
You must be signed in to change notification settings - Fork 36
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
rethrow semantics question #259
Comments
There is a detailed example of how this works in "formal-examples" document. |
This example may help understanding: #146 (comment) |
thank you.
|
Added the example to the explainer too: #263 |
No.
|
i don't understand. if N==0,
if N==1,
so, in both cases, the exception thrown by "rethrow N" is the exception caught by the first catch_all. what am i missing? |
Oh, you are talking about the program as a whole... Yeah, the whole program ends up throwing the same exception for N == 0 and N == 1. What I was describing was independent instruction's behavior. |
i'm reading https://github.com/WebAssembly/exception-handling/blob/main/proposals/exception-handling/Exceptions.md#rethrowing-an-exception
how the following should work was not clear to me.
The text was updated successfully, but these errors were encountered: