Add PackageName.qualify - #4
Conversation
swankjesse
left a comment
There was a problem hiding this comment.
I didn’t think local is actually a part of the WIT language, just a part of the examples?
https://github.com/WebAssembly/component-model/blob/main/design/mvp/WIT.md
I was under the impression that local packages are more like inline packages, and our processing code should promote them to be peers with the TopLevelPackage type. As a result, parsing a single directory of .wit files could produce a List<IoTopLevelWitPackage>
(But I’m not sure I’m reading the same docs as you, or if I’m reading 'em right!
|
It's not part of the grammar, but it's implied that Maybe I need to check the reference implementation? This wonderfully friendly interaction left me with the definite impression that there's only one implementation, and so the spec might be incomplete by itself |
|
Turns out my assumption was completely wrong here. There's no hierarchical relationship implied with the package a subpackage lives in: it's just a wholly distinct package defined within the context of another package So this is entirely unnecessary |
No description provided.