-
Notifications
You must be signed in to change notification settings - Fork 36
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: