Skip to content

Commit 77090e2

Browse files
committed
Reverting changes to typing of CAUGHTadm.
Changes to this rule are now done in PR WebAssembly#244
1 parent 5f48ba4 commit 77090e2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

document/core/appendix/properties.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -670,24 +670,24 @@ To that end, all previous typing judgements :math:`C \vdash \X{prop}` are genera
670670

671671
* The :ref:`values <syntax-val>` :math:`\val^\ast` must be of type :math:`[t_0^\ast]`.
672672

673-
* Let :math:`C'` be the same :ref:`context <context>` as :math:`C`, but with the label :math:`(\LCATCH~[t^\ast])` prepended to the |CLABELS| vector.
673+
* The label type :math:`C.\CLABELS[0]` must be defined in the context.
674+
675+
* Let :math:`C'` be the same :ref:`context <context>` as :math:`C`, but with the :ref:`label type <syntax-labeltype>` :math:`C.\CLABELS[0]` modified to :math:`(\LCATCH~[t^\ast])` in the |CLABELS| vector.
674676

675677
* Under context :math:`C'`,
676678
the instruction sequence :math:`\instr^\ast` must be :ref:`valid <valid-instr-seq>` with type :math:`[] \to [t^\ast]`.
677679

678-
* Let :math:`C''` be the same :ref:`context <context>` as :math:`C`, but with the label :math:`[t^\ast]` prepended to the |CLABELS| vector.
679-
680-
* Then the compound instruction is valid under context :math:`C''` with type :math:`[] \to [t^\ast]`.
680+
* Then the compound instruction is valid under context :math:`C` with type :math:`[] \to [t^\ast]`.
681681

682682
.. math::
683683
\frac{
684684
S \vdashexternval \EVTAG~\tagaddr : \ETTAG~[t_0^\ast]\to[]
685685
\qquad
686686
(val : t_0)^\ast
687687
\qquad
688-
S; C,\CLABELS\,(\LCATCH~[t^\ast]) \vdashinstrseq \instr^\ast : [] \to [t^\ast]
688+
S; C,\CLABELS[0]:=(\LCATCH~[t^\ast]) \vdashinstrseq \instr^\ast : [] \to [t^\ast]
689689
}{
690-
S; C,\CLABELS\,[t^\ast] \vdashadmininstr \CAUGHTadm\{\tagaddr~\val^\ast\}~\instr^\ast~\END : [] \to [t^\ast]
690+
S; C \vdashadmininstr \CAUGHTadm\{\tagaddr~\val^\ast\}~\instr^\ast~\END : [] \to [t^\ast]
691691
}
692692
693693

0 commit comments

Comments
 (0)