You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 25, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: proposals/function-references/Overview.md
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -150,6 +150,14 @@ A *reference type* denotes the type of a reference to some data. It may either i
150
150
- the opcodes for `funcref` and `externref` continue to exist as shorthands as described above
151
151
152
152
153
+
#### Type Definitions
154
+
155
+
* Type definitions are validated in sequence and without allowing recursion
156
+
-`functype* ok`
157
+
- iff `functype* = epsilon`
158
+
- or `functype* = functype'* functype''`and `functype'* ok` and `functype'' ok` using only type indices up to `|functype'*|-1`
159
+
160
+
153
161
#### Subtyping
154
162
155
163
The following rules, now defined in terms of heap types, replace and extend the rules for [basic reference types](https://github.com/WebAssembly/reference-types/proposals/reference-types/Overview.md#subtyping).
0 commit comments