Debian Codegraph @

tests/cli/print-interfaces-in-world-correctly.wit

raw
1 // RUN: component wit %
2
3 package foo:bar;
4
5 world foo {
6 import a: interface {
7 use local.{t1};
8 use a:b/foreign.{t2};
9 }
10 export a: interface {
11 use local.{t1};
12 use a:b/foreign.{t2};
13 }
14 }
15
16 interface local {
17 type t1 = u32;
18 }
19
20 package a:b {
21 interface foreign {
22 type t2 = u32;
23 }
24 }