Skip to content

Commit

Permalink
[spec] Fix syntax error in element segments validation rule (WebAssem…
Browse files Browse the repository at this point in the history
  • Loading branch information
ia0 authored and rossberg committed Mar 1, 2023
1 parent b179597 commit 2ba134b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions document/core/valid/modules.rst
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ Element segments :math:`\elem` are classified by the :ref:`reference type <synta

* For each :math:`e_i` in :math:`e^\ast`,

* The expression :math:`e_i` must be :ref:`valid <valid-expr>`.
* The expression :math:`e_i` must be :ref:`valid <valid-expr>` with some :ref:`result type <syntax-resulttype>` :math:`[t]`.

* The expression :math:`e_i` must be :ref:`constant <valid-const>`.

Expand All @@ -160,7 +160,7 @@ Element segments :math:`\elem` are classified by the :ref:`reference type <synta

.. math::
\frac{
(C \vdashexpr e \ok)^\ast
(C \vdashexpr e : [t])^\ast
\qquad
(C \vdashexprconst e \const)^\ast
\qquad
Expand Down

0 comments on commit 2ba134b

Please # to comment.