diff --git a/document/core/valid/modules.rst b/document/core/valid/modules.rst index e110d0b6f0..9e987d79e9 100644 --- a/document/core/valid/modules.rst +++ b/document/core/valid/modules.rst @@ -385,9 +385,9 @@ Element segments :math:`\elem` are classified by the :ref:`reference type ` :math:`C.\CTABLES[x]`. +* Let :math:`\X{at}~\limits~t` be the :ref:`table type ` :math:`C.\CTABLES[x]`. -* The expression :math:`\expr` must be :ref:`valid ` with :ref:`result type ` :math:`[\I32]`. +* The expression :math:`\expr` must be :ref:`valid ` with :ref:`result type ` :math:`[\X{at}]`. * The expression :math:`\expr` must be :ref:`constant `. @@ -396,9 +396,9 @@ Element segments :math:`\elem` are classified by the :ref:`reference type ` with :ref:`result type ` :math:`[\I32]`. +* Let :math:`\X{at}~\limits` be the :ref:`memory type ` :math:`C.\CMEMS[x]`. + +* The expression :math:`\expr` must be :ref:`valid ` with :ref:`result type ` :math:`[\X{at}]`. * The expression :math:`\expr` must be :ref:`constant `. @@ -474,9 +476,9 @@ Data segments :math:`\data` are not classified by any type but merely checked fo .. math:: \frac{ - C.\CMEMS[x] = \limits + C.\CMEMS[x] = \X{at}~\limits \qquad - C \vdashexpr \expr : [\I32] + C \vdashexpr \expr : [\X{at}] \qquad C \vdashexprconst \expr \const }{