File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
2- "worlds" : [
3- {
4- "name" : " resources" ,
5- "imports" : {
6- "interface-0" : {
7- "interface" : {
8- "id" : 0
9- }
10- },
11- "z" : {
12- "type" : 1
13- },
14- "big" : {
15- "type" : 3
16- }
17- },
18- "exports" : {
19- "big-record" : {
20- "function" : {
21- "name" : " big-record" ,
22- "kind" : " freestanding" ,
23- "params" : [
24- {
25- "name" : " r" ,
26- "type" : 3
27- }
28- ],
29- "results" : []
30- }
31- },
32- "maybe-with-z" : {
33- "function" : {
34- "name" : " maybe-with-z" ,
35- "kind" : " freestanding" ,
36- "params" : [
37- {
38- "name" : " a" ,
39- "type" : 4
40- }
41- ],
42- "results" : []
43- }
44- }
45- },
46- "package" : 0
47- }
48- ],
49- "interfaces" : [
50- {
51- "name" : " types" ,
52- "types" : {
53- "z" : 0
54- },
55- "functions" : {
56- "[constructor]z" : {
57- "name" : " [constructor]z" ,
58- "kind" : {
59- "constructor" : 0
60- },
61- "params" : [
62- {
63- "name" : " a" ,
64- "type" : " f64"
65- }
66- ],
67- "results" : [
68- {
69- "type" : 5
70- }
71- ]
72- }
73- },
74- "package" : 0
75- }
76- ],
77- "types" : [
78- {
79- "name" : " z" ,
80- "kind" : " resource" ,
81- "owner" : {
82- "interface" : 0
83- }
84- },
85- {
86- "name" : " z" ,
87- "kind" : {
88- "type" : 0
89- },
90- "owner" : {
91- "world" : 0
92- }
93- },
94- {
95- "name" : null ,
96- "kind" : {
97- "handle" : {
98- "borrow" : 1
99- }
100- },
101- "owner" : null
102- },
103- {
104- "name" : " big" ,
105- "kind" : {
106- "record" : {
107- "fields" : [
108- {
109- "name" : " x1" ,
110- "type" : 2
111- }
112- ]
113- }
114- },
115- "owner" : {
116- "world" : 0
117- }
118- },
119- {
120- "name" : null ,
121- "kind" : {
122- "option" : 2
123- },
124- "owner" : null
125- },
126- {
127- "name" : null ,
128- "kind" : {
129- "handle" : {
130- "own" : 0
131- }
132- },
133- "owner" : null
134- }
135- ],
136- "packages" : [
137- {
138- "name" : " issues:issue165" ,
139- "docs" : {
140- "contents" : " https://github.com/bytecodealliance/go-modules/issues/165"
141- },
142- "interfaces" : {
143- "types" : 0
144- },
145- "worlds" : {
146- "resources" : 0
147- }
148- }
149- ]
150- }
2+ "worlds" : [
3+ {
4+ "name" : " resources" ,
5+ "imports" : {
6+ "interface-0" : {
7+ "interface" : {
8+ "id" : 0
9+ }
10+ },
11+ "z" : {
12+ "type" : 1
13+ },
14+ "big" : {
15+ "type" : 3
16+ }
17+ },
18+ "exports" : {
19+ "big-record" : {
20+ "function" : {
21+ "name" : " big-record" ,
22+ "kind" : " freestanding" ,
23+ "params" : [
24+ {
25+ "name" : " r" ,
26+ "type" : 3
27+ }
28+ ],
29+ "results" : []
30+ }
31+ },
32+ "maybe-with-z" : {
33+ "function" : {
34+ "name" : " maybe-with-z" ,
35+ "kind" : " freestanding" ,
36+ "params" : [
37+ {
38+ "name" : " a" ,
39+ "type" : 4
40+ }
41+ ],
42+ "results" : []
43+ }
44+ }
45+ },
46+ "package" : 0
47+ }
48+ ],
49+ "interfaces" : [
50+ {
51+ "name" : " types" ,
52+ "types" : {
53+ "z" : 0
54+ },
55+ "functions" : {
56+ "[constructor]z" : {
57+ "name" : " [constructor]z" ,
58+ "kind" : {
59+ "constructor" : 0
60+ },
61+ "params" : [
62+ {
63+ "name" : " a" ,
64+ "type" : " f64"
65+ }
66+ ],
67+ "results" : [
68+ {
69+ "type" : 5
70+ }
71+ ]
72+ }
73+ },
74+ "package" : 0
75+ }
76+ ],
77+ "types" : [
78+ {
79+ "name" : " z" ,
80+ "kind" : " resource" ,
81+ "owner" : {
82+ "interface" : 0
83+ }
84+ },
85+ {
86+ "name" : " z" ,
87+ "kind" : {
88+ "type" : 0
89+ },
90+ "owner" : {
91+ "world" : 0
92+ }
93+ },
94+ {
95+ "name" : null ,
96+ "kind" : {
97+ "handle" : {
98+ "borrow" : 1
99+ }
100+ },
101+ "owner" : null
102+ },
103+ {
104+ "name" : " big" ,
105+ "kind" : {
106+ "record" : {
107+ "fields" : [
108+ {
109+ "name" : " x1" ,
110+ "type" : 2
111+ }
112+ ]
113+ }
114+ },
115+ "owner" : {
116+ "world" : 0
117+ }
118+ },
119+ {
120+ "name" : null ,
121+ "kind" : {
122+ "option" : 2
123+ },
124+ "owner" : null
125+ },
126+ {
127+ "name" : null ,
128+ "kind" : {
129+ "handle" : {
130+ "own" : 0
131+ }
132+ },
133+ "owner" : null
134+ }
135+ ],
136+ "packages" : [
137+ {
138+ "name" : " issues:issue165" ,
139+ "docs" : {
140+ "contents" : " https://github.com/bytecodealliance/go-modules/issues/165"
141+ },
142+ "interfaces" : {
143+ "types" : 0
144+ },
145+ "worlds" : {
146+ "resources" : 0
147+ }
148+ }
149+ ]
150+ }
You can’t perform that action at this time.
0 commit comments