Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions design/mvp/WIT.md
Original file line number Diff line number Diff line change
Expand Up @@ -867,7 +867,7 @@ WIT files optionally start with a package declaration which defines the ID of
the package.

```ebnf
package-decl ::= 'package' id ':' id ('@' valid-semver)?
package-decl ::= 'package' ( id ':' )+ id ( '/' id )* ('@' valid-semver)?
```

The production `valid-semver` is as defined by
Expand All @@ -883,7 +883,7 @@ convenience:
toplevel-use-item ::= 'use' use-path ('as' id)?

use-path ::= id
| id ':' id '/' id ('@' valid-semver)?
| ( id ':' )+ id ( '/' id )+ ('@' valid-semver)?
```

Here `use-path` is the ID used to refer to interfaces. The bare form `id`
Expand Down