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 33e09a5 commit 673d5c4Copy full SHA for 673d5c4
design/mvp/WIT.md
@@ -867,7 +867,7 @@ WIT files optionally start with a package declaration which defines the ID of
867
the package.
868
869
```ebnf
870
-package-decl ::= 'package' id ':' id ('@' valid-semver)?
+package-decl ::= 'package' ( id ':' )+ id ( '/' id )* ('@' valid-semver)?
871
```
872
873
The production `valid-semver` is as defined by
@@ -883,7 +883,7 @@ convenience:
883
toplevel-use-item ::= 'use' use-path ('as' id)?
884
885
use-path ::= id
886
- | id ':' id '/' id ('@' valid-semver)?
+ | ( id ':' )+ id ( '/' id )+ ('@' valid-semver)?
887
888
889
Here `use-path` is the ID used to refer to interfaces. The bare form `id`
0 commit comments