You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When instantiating a component, it's useful to allow the user to provide type annotation that fixes the component's expected imports and exports. For example, in the scenario described in #56, the type annotation can be used to suppress the unknown import error when the import is intended but is not present in the component's WIT, generated by witgen.
Activity
peterhuene commentedon Mar 4, 2024
Proposed syntax might be:
Constraints:
idorpackage-pathmust name a world.peterhuene commentedon Mar 12, 2024
The
:delimiter might be confusing since this would be legal with the above grammar:new foo:bar:foo:bar/baz {}.Perhaps
asinstead of:, leading tonew foo:bar as foo:bar/baz {}.