Closed dhil closed 5 years ago
This PR implements type checking for try ... catch ... end, throw, rethrow, and br_on_exn.
try ... catch ... end
throw
rethrow
br_on_exn
I suppose I can look into the dynamics next? I will extend the test suite exception.wast once I got rid of the assert false in the evaluator.
exception.wast
assert false
you're missing checking the exception definitions in the module (check_exception)
Good catch! I had indeed forgotten about that. PTAL.
Thanks @rossberg! I will continue to work on the dynamic semantics.
This PR implements type checking for
try ... catch ... end
,throw
,rethrow
, andbr_on_exn
.I suppose I can look into the dynamics next? I will extend the test suite
exception.wast
once I got rid of theassert false
in the evaluator.