Closed
Description
The feature gate example lists a gate as having both a version and feature field: @since(version = 0.2.2, feature = fancy-foo)
https://github.com/WebAssembly/component-model/blob/main/design/mvp/WIT.md#feature-gates
However the BNF for gate syntax lists feature-field
as only being used by an @unstable
gate:
gate ::= gate-item*
gate-item ::= unstable-gate
| since-gate
| deprecated-gate
unstable-gate ::= '@unstable' '(' feature-field ')'
since-gate ::= '@since' '(' version-field ')'
deprecated-gate ::= '@deprecated' '(' version-field ')'
feature-field ::= 'feature' '=' id
version-field ::= 'version' '=' <valid semver>
Metadata
Metadata
Assignees
Labels
No labels