Debian Codegraph @

crates/wit-parser/tests/ui/union-fuzz-2.wit.json

raw
1 {
2 "worlds": [
3 {
4 "name": "foo",
5 "imports": {},
6 "exports": {
7 "foo": {
8 "function": {
9 "name": "foo",
10 "kind": "freestanding",
11 "params": [],
12 "result": "f32"
13 }
14 }
15 },
16 "package": 0
17 },
18 {
19 "name": "bar",
20 "imports": {
21 "foo": {
22 "type": 0
23 }
24 },
25 "exports": {
26 "foo": {
27 "function": {
28 "name": "foo",
29 "kind": "freestanding",
30 "params": [],
31 "result": "f32"
32 }
33 }
34 },
35 "package": 0
36 }
37 ],
38 "interfaces": [],
39 "types": [
40 {
41 "name": "foo",
42 "kind": {
43 "record": {
44 "fields": []
45 }
46 },
47 "owner": {
48 "world": 1
49 }
50 }
51 ],
52 "packages": [
53 {
54 "name": "foo:bar",
55 "interfaces": {},
56 "worlds": {
57 "foo": 0,
58 "bar": 1
59 }
60 }
61 ]
62 }