WebAssembly / WebAssembly/component-model
Inconsistent semi colons on wit file Include's when renaming via `with`
Open
Nobody has claimed this yet.
- Dominant language
- WebAssembly
- Stars
- 1.4k
- Forks
- 130
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 15
Description
This parses:
world union-my-world-a {
include world-one;
include world-two with { a as b }
}
but if I add a ; to the with it fails
world union-my-world-a {
include world-one;
include world-two with { a as b };
}
Is that intentional or is there a reason for that?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running the two WIT snippets from the issue through the project's parser and compare how the include forms are handled. Trace the relevant WIT grammar or parser entry point; done means the semicolon behavior is made consistent or explicitly clarified, with both examples covered by a regression test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- wasm
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100