Skip to content

Commit 0719fa2

Browse files
[spec] Fix typo in index space example (#2271)
1 parent 99f2245 commit 0719fa2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎document/core/syntax/modules.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ Conventions
111111
* For every index space ${-:abcidx}, the notation ${-:$abcidx(A)} denotes the set of indices from that index space occurring free in ${:A}. Sometimes this set is reinterpreted as the :ref:`list <syntax-list>` of its elements.
112112

113113
.. note::
114-
For example, if ${:instr*} is ${instr*: (DATA.DROP 1) (MEMORY.INIT 2 3)}, then ${:$dataidx_instrs(instr*) = 1 3}, or equivalently, the set ${:`{1, 3}}.
114+
For example, if ${:instr*} is ${instr*: (DATA.DROP 1) (MEMORY.INIT 2 3)}, then ${:$dataidx(instr*) = 1 3}, or equivalently, the set ${:`{1, 3}}.
115115

116116

117117
.. index:: ! type definition, type index, function type, aggregate type

0 commit comments

Comments
 (0)