Debian Codegraph @

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

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