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
Copy file name to clipboardExpand all lines: design/mvp/WIT.md
+11-2Lines changed: 11 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -945,14 +945,21 @@ nesting both namespaces and packages, which would then generalize the syntax of
945
945
946
946
## Item: `world`
947
947
948
-
Worlds define a [componenttype](https://github.com/WebAssembly/component-model/blob/main/design/mvp/Explainer.md#type-definitions) as a collection of imports and exports.
948
+
Worlds define a [`componenttype`] as a collection of imports and exports, all
949
+
of which can be gated.
949
950
950
951
Concretely, the structure of a world is:
951
952
952
953
```ebnf
953
954
world-item ::= gate 'world' id '{' world-items* '}'
0 commit comments