We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b179597 commit 2ba134bCopy full SHA for 2ba134b
document/core/valid/modules.rst
@@ -149,7 +149,7 @@ Element segments :math:`\elem` are classified by the :ref:`reference type <synta
149
150
* For each :math:`e_i` in :math:`e^\ast`,
151
152
- * 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]`.
153
154
* The expression :math:`e_i` must be :ref:`constant <valid-const>`.
155
@@ -160,7 +160,7 @@ Element segments :math:`\elem` are classified by the :ref:`reference type <synta
160
161
.. math::
162
\frac{
163
- (C \vdashexpr e \ok)^\ast
+ (C \vdashexpr e : [t])^\ast
164
\qquad
165
(C \vdashexprconst e \const)^\ast
166
0 commit comments