-
Notifications
You must be signed in to change notification settings - Fork 36
Added Exception Handling entry to document/core/appendix/changes.rst
#267
Conversation
…st`. Please note: Apart from try-catch and try-delegate, all other instructions in `changes.rst` are given without the immediates or any arguments that follow them. Since try-catch and try-delegate are the only new structured block instructions I guessed it is ok to include the full form of these new instructions here.
Fixes the build fail caused by the typo `\bt` (should have been `\blocktype`.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
document/core/appendix/changes.rst
Outdated
|
||
Added tag type, instructions that throw exceptions of a tag type, and instructions that handle exceptions. [#proposal-eh]_ | ||
|
||
* New :ref:`tag type <syntax-tagtype>`: :math:`[t^\ast]\to[]`- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd replace this with tag definitions, imports, and exports. Tag types are more of an auxiliary notion to support these constructs.
document/core/appendix/changes.rst
Outdated
|
||
* New :ref:`tag type <syntax-tagtype>`: :math:`[t^\ast]\to[]`- | ||
|
||
* New :ref:`tag section <binary-tagsec>` in binary format. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps move this to the end of the list.
document/core/appendix/changes.rst
Outdated
|
||
* New handler :ref:`control instructions <syntax-instr-control>`: :math:`\TRY~\X{bt}~\instr_1^\ast~(\CATCH~x~\instr_2^\ast)^\ast~(\CATCHALL~\instr_3^\ast)^?\END`, :math:`\TRY~\X{bt}~\instr^\ast~\DELEGATE~l`. | ||
|
||
* New uncaught exception :ref:`result <syntax-result>`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd remove this, it's more like an implication, not a feature.
Co-authored-by: Andreas Rossberg <[email protected]>
Please note:
Apart from try-catch and try-delegate, all other instructions in
changes.rst
are given without the immediates or any arguments that follow them. Since try-catch and try-delegate are the only new structured block instructions I guessed it is ok to include the full form of these new instructions here.