Open
Description
Consider this WIT:
package example:name;
world only-exports {
export example:name/exports;
export exports: interface {
foo: func();
}
}
However, when processing this with wasm-tools, it throws the following error:
error: package depends on itself
--> testdata/issues/issue170.wit:8:10
|
8 | export example:name/exports;
| ^-----------
Expected Behavior: The interface name with the WorldKey
should reference the first export without throwing an error.
Metadata
Assignees
Labels
No labels