Skip to content

Commit 3b3d7aa

Browse files
authored
[spec] Fixed typos regarding blocktypes (#1941)
1 parent b0aa23f commit 3b3d7aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

document/core/valid/instructions.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2015,7 +2015,7 @@ Control Instructions
20152015
:math:`\LOOP~\blocktype~\instr^\ast~\END`
20162016
.........................................
20172017

2018-
* The :ref:`block type <syntax-blocktype>` must be :ref:`valid <valid-blocktype>` as some :ref:`instruction type <syntax-functype>` :math:`[t_1^\ast] \to_{x^\ast} [t_2^\ast]`.
2018+
* The :ref:`block type <syntax-blocktype>` must be :ref:`valid <valid-blocktype>` as some :ref:`instruction type <syntax-instrtype>` :math:`[t_1^\ast] \to [t_2^\ast]`.
20192019

20202020
* Let :math:`C'` be the same :ref:`context <context>` as :math:`C`, but with the :ref:`result type <syntax-resulttype>` :math:`[t_1^\ast]` prepended to the |CLABELS| vector.
20212021

@@ -2075,7 +2075,7 @@ Control Instructions
20752075
:math:`\TRYTABLE~\blocktype~\catch^\ast~\instr^\ast~\END`
20762076
.........................................................
20772077

2078-
* The :ref:`block type <syntax-blocktype>` must be :ref:`valid <valid-blocktype>` as some :ref:`function type <syntax-functype>` :math:`[t_1^\ast] \to [t_2^\ast]`.
2078+
* The :ref:`block type <syntax-blocktype>` must be :ref:`valid <valid-blocktype>` as some :ref:`instruction type <syntax-instrtype>` :math:`[t_1^\ast] \to [t_2^\ast]`.
20792079

20802080
* For every :ref:`catch clause <syntax-catch>` :math:`\catch_i` in :math:`\catch^\ast`, :math:`\catch_i` must be :ref:`valid <valid-catch>`.
20812081

0 commit comments

Comments
 (0)