Files
cli/vendor/wit-component/tests/interfaces/diamond.wit.print

35 lines
500 B
Plaintext

package foo:foo;
interface shared-items {
enum the-enum {
a,
}
}
world w1 {
import shared-items;
import foo: interface {
use shared-items.{the-enum};
}
import bar: interface {
use shared-items.{the-enum};
}
}
world w2 {
import shared-items;
import foo: interface {
use shared-items.{the-enum};
}
export bar: interface {
use shared-items.{the-enum};
}
}
world w3 {
import shared-items;
export bar: interface {
use shared-items.{the-enum};
}
}