Debian Codegraph @

crates/wit-parser/tests/ui/world-diamond.wit

raw
1 package foo:foo;
2
3 interface shared-items {
4 type foo = u32;
5 }
6
7 interface i1 {
8 use shared-items.{foo};
9
10 a: func() -> foo;
11 }
12
13 interface i2 {
14 use shared-items.{foo};
15
16 a: func() -> foo;
17 }
18
19 world the-world {
20 import i1;
21 import i2;
22 import a: func();
23 }