Debian Codegraph @

crates/wit-component/tests/interfaces/reference-out-of-order.wit.print

raw
1 package foo:foo;
2
3 interface foo {
4 record r {
5 s: string,
6 }
7
8 variant v {
9 s(string),
10 }
11
12 record r-no-string {
13 s: u32,
14 }
15
16 variant v-no-string {
17 s(u32),
18 }
19
20 a: func(x: r);
21
22 b: func(x: v);
23
24 c: func(x: r-no-string);
25
26 d: func(x: v-no-string);
27 }
28
29 world foo-world {
30 import foo;
31 }