Debian Codegraph @

crates/wit-parser/tests/ui/multi-file-multi-package/a.wit

raw
1 package foo:main;
2 package foo:name {
3 interface i1 {
4 type a = u32;
5 }
6
7 world w1 {
8 import imp1: interface {
9 use i1.{a};
10 }
11 }
12 }
13
14 package bar:name {
15 interface i2 {
16 type b = u32;
17 }
18
19 world w2 {
20 import imp2: interface {
21 use i2.{b};
22 }
23 }
24 }