Debian Codegraph @

crates/wit-component/tests/interfaces/diamond-disambiguate.wat

raw
1 (component
2 (type (;0;)
3 (component
4 (type (;0;)
5 (instance
6 (type (;0;) u8)
7 (export (;1;) "t1" (type (eq 0)))
8 )
9 )
10 (export (;0;) "foo:foo/shared1" (instance (type 0)))
11 )
12 )
13 (export (;1;) "shared1" (type 0))
14 (type (;2;)
15 (component
16 (type (;0;)
17 (instance
18 (type (;0;) u8)
19 (export (;1;) "t2" (type (eq 0)))
20 )
21 )
22 (export (;0;) "foo:foo/shared2" (instance (type 0)))
23 )
24 )
25 (export (;3;) "shared2" (type 2))
26 (type (;4;)
27 (component
28 (type (;0;)
29 (component
30 (type (;0;)
31 (instance
32 (type (;0;) u8)
33 (export (;1;) "t1" (type (eq 0)))
34 )
35 )
36 (import "foo:foo/shared1" (instance (;0;) (type 0)))
37 (alias export 0 "t1" (type (;1;)))
38 (type (;2;)
39 (instance
40 (alias outer 1 1 (type (;0;)))
41 (export (;1;) "t1" (type (eq 0)))
42 )
43 )
44 (import "foo" (instance (;1;) (type 2)))
45 (type (;3;)
46 (instance
47 (type (;0;) u8)
48 (export (;1;) "t2" (type (eq 0)))
49 )
50 )
51 (import "foo:foo/shared2" (instance (;2;) (type 3)))
52 (alias export 2 "t2" (type (;4;)))
53 (type (;5;)
54 (instance
55 (alias outer 1 4 (type (;0;)))
56 (export (;1;) "t2" (type (eq 0)))
57 )
58 )
59 (import "bar" (instance (;3;) (type 5)))
60 )
61 )
62 (export (;0;) "foo:foo/w1" (component (type 0)))
63 )
64 )
65 (export (;5;) "w1" (type 4))
66 (@custom "package-docs" "\01{}")
67 (@producers
68 (processed-by "wit-component" "$CARGO_PKG_VERSION")
69 )
70 )