This repository was archived by the owner on Apr 25, 2025. It is now read-only.

Description
we would like to see an "unreachable" catch clause, that takes an exception type, or even "unreachable_all"?
jumping over an "unreachable" is a bit unwieldy today:
block $a
block $b
try_table (catch_all $b)
;; code goes here
end
br $a
end
unreachable
end
meanwhile,
try_table (unreachable_all)
;; code goes here
end
and implementations could make this "zero-cost" in the happy case. they could even provide more information about the error than with the catch_all approach - they could provide the full stack trace of the exception instead of the stack trace of the unreachable.
(if we could call these "checked exceptions" that would be cool too, even if they're not java-style checked exceptions)