Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix syntax error in element segments validation rule #1465

Merged
merged 2 commits into from
May 6, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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