Debian Codegraph @

tests/snapshots/cli/component-model/type-export-restrictions.wast.json

raw
1 {
2 "source_filename": "tests/cli/component-model/type-export-restrictions.wast",
3 "commands": [
4 {
5 "type": "assert_invalid",
6 "line": 6,
7 "filename": "type-export-restrictions.0.wasm",
8 "module_type": "binary",
9 "text": "type not valid to be used as export"
10 },
11 {
12 "type": "assert_invalid",
13 "line": 14,
14 "filename": "type-export-restrictions.1.wasm",
15 "module_type": "binary",
16 "text": "type not valid to be used as export"
17 },
18 {
19 "type": "assert_invalid",
20 "line": 22,
21 "filename": "type-export-restrictions.2.wasm",
22 "module_type": "binary",
23 "text": "type not valid to be used as export"
24 },
25 {
26 "type": "assert_invalid",
27 "line": 30,
28 "filename": "type-export-restrictions.3.wasm",
29 "module_type": "binary",
30 "text": "type not valid to be used as export"
31 },
32 {
33 "type": "assert_invalid",
34 "line": 38,
35 "filename": "type-export-restrictions.4.wasm",
36 "module_type": "binary",
37 "text": "type not valid to be used as export"
38 },
39 {
40 "type": "assert_invalid",
41 "line": 46,
42 "filename": "type-export-restrictions.5.wasm",
43 "module_type": "binary",
44 "text": "type not valid to be used as export"
45 },
46 {
47 "type": "assert_invalid",
48 "line": 56,
49 "filename": "type-export-restrictions.6.wasm",
50 "module_type": "binary",
51 "text": "type not valid to be used as export"
52 },
53 {
54 "type": "assert_invalid",
55 "line": 64,
56 "filename": "type-export-restrictions.7.wasm",
57 "module_type": "binary",
58 "text": "type not valid to be used as export"
59 },
60 {
61 "type": "assert_invalid",
62 "line": 72,
63 "filename": "type-export-restrictions.8.wasm",
64 "module_type": "binary",
65 "text": "type not valid to be used as export"
66 },
67 {
68 "type": "assert_invalid",
69 "line": 80,
70 "filename": "type-export-restrictions.9.wasm",
71 "module_type": "binary",
72 "text": "type not valid to be used as export"
73 },
74 {
75 "type": "assert_invalid",
76 "line": 88,
77 "filename": "type-export-restrictions.10.wasm",
78 "module_type": "binary",
79 "text": "type not valid to be used as export"
80 },
81 {
82 "type": "module",
83 "line": 96,
84 "filename": "type-export-restrictions.11.wasm",
85 "module_type": "binary"
86 },
87 {
88 "type": "module",
89 "line": 107,
90 "filename": "type-export-restrictions.12.wasm",
91 "module_type": "binary"
92 },
93 {
94 "type": "assert_invalid",
95 "line": 116,
96 "filename": "type-export-restrictions.13.wasm",
97 "module_type": "binary",
98 "text": "type not valid to be used as import"
99 },
100 {
101 "type": "module",
102 "line": 122,
103 "filename": "type-export-restrictions.14.wasm",
104 "module_type": "binary"
105 },
106 {
107 "type": "assert_invalid",
108 "line": 129,
109 "filename": "type-export-restrictions.15.wasm",
110 "module_type": "binary",
111 "text": "func not valid to be used as import"
112 },
113 {
114 "type": "assert_invalid",
115 "line": 137,
116 "filename": "type-export-restrictions.16.wasm",
117 "module_type": "binary",
118 "text": "type not valid to be used as export"
119 },
120 {
121 "type": "assert_invalid",
122 "line": 147,
123 "filename": "type-export-restrictions.17.wasm",
124 "module_type": "binary",
125 "text": "func not valid to be used as export"
126 },
127 {
128 "type": "assert_invalid",
129 "line": 155,
130 "filename": "type-export-restrictions.18.wasm",
131 "module_type": "binary",
132 "text": "type not valid to be used as export"
133 },
134 {
135 "type": "module",
136 "line": 165,
137 "filename": "type-export-restrictions.19.wasm",
138 "module_type": "binary"
139 },
140 {
141 "type": "assert_invalid",
142 "line": 174,
143 "filename": "type-export-restrictions.20.wasm",
144 "module_type": "binary",
145 "text": "instance not valid to be used as export"
146 },
147 {
148 "type": "assert_invalid",
149 "line": 186,
150 "filename": "type-export-restrictions.21.wasm",
151 "module_type": "binary",
152 "text": "func not valid to be used as export"
153 },
154 {
155 "type": "assert_invalid",
156 "line": 199,
157 "filename": "type-export-restrictions.22.wasm",
158 "module_type": "binary",
159 "text": "func not valid to be used as export"
160 },
161 {
162 "type": "assert_invalid",
163 "line": 215,
164 "filename": "type-export-restrictions.23.wasm",
165 "module_type": "binary",
166 "text": "func not valid to be used as export"
167 },
168 {
169 "type": "module",
170 "line": 231,
171 "filename": "type-export-restrictions.24.wasm",
172 "module_type": "binary"
173 },
174 {
175 "type": "module",
176 "line": 244,
177 "filename": "type-export-restrictions.25.wasm",
178 "module_type": "binary"
179 },
180 {
181 "type": "module",
182 "line": 260,
183 "filename": "type-export-restrictions.26.wasm",
184 "module_type": "binary"
185 },
186 {
187 "type": "assert_invalid",
188 "line": 273,
189 "filename": "type-export-restrictions.27.wasm",
190 "module_type": "binary",
191 "text": "func not valid to be used as import"
192 },
193 {
194 "type": "module",
195 "line": 281,
196 "filename": "type-export-restrictions.28.wasm",
197 "module_type": "binary"
198 },
199 {
200 "type": "module",
201 "line": 286,
202 "filename": "type-export-restrictions.29.wasm",
203 "module_type": "binary"
204 },
205 {
206 "type": "assert_invalid",
207 "line": 296,
208 "filename": "type-export-restrictions.30.wasm",
209 "module_type": "binary",
210 "text": "func not valid to be used as import"
211 },
212 {
213 "type": "assert_invalid",
214 "line": 305,
215 "filename": "type-export-restrictions.31.wasm",
216 "module_type": "binary",
217 "text": "func not valid to be used as export"
218 },
219 {
220 "type": "module",
221 "line": 317,
222 "filename": "type-export-restrictions.32.wasm",
223 "module_type": "binary"
224 },
225 {
226 "type": "module",
227 "line": 337,
228 "filename": "type-export-restrictions.33.wasm",
229 "module_type": "binary"
230 },
231 {
232 "type": "module",
233 "line": 341,
234 "filename": "type-export-restrictions.34.wasm",
235 "module_type": "binary"
236 },
237 {
238 "type": "module",
239 "line": 346,
240 "filename": "type-export-restrictions.35.wasm",
241 "module_type": "binary"
242 },
243 {
244 "type": "module",
245 "line": 350,
246 "filename": "type-export-restrictions.36.wasm",
247 "module_type": "binary"
248 },
249 {
250 "type": "assert_invalid",
251 "line": 358,
252 "filename": "type-export-restrictions.37.wasm",
253 "module_type": "binary",
254 "text": "instance not valid to be used as export"
255 },
256 {
257 "type": "module",
258 "line": 380,
259 "filename": "type-export-restrictions.38.wasm",
260 "module_type": "binary"
261 },
262 {
263 "type": "assert_invalid",
264 "line": 387,
265 "filename": "type-export-restrictions.39.wasm",
266 "module_type": "binary",
267 "text": "instance not valid to be used as import"
268 },
269 {
270 "type": "module",
271 "line": 398,
272 "name": "C",
273 "filename": "type-export-restrictions.40.wasm",
274 "module_type": "binary"
275 },
276 {
277 "type": "module",
278 "line": 414,
279 "filename": "type-export-restrictions.41.wasm",
280 "module_type": "binary"
281 },
282 {
283 "type": "assert_invalid",
284 "line": 429,
285 "filename": "type-export-restrictions.42.wasm",
286 "module_type": "binary",
287 "text": "type not valid to be used as import"
288 },
289 {
290 "type": "assert_invalid",
291 "line": 439,
292 "filename": "type-export-restrictions.43.wasm",
293 "module_type": "binary",
294 "text": "type not valid to be used as export"
295 },
296 {
297 "type": "assert_invalid",
298 "line": 450,
299 "filename": "type-export-restrictions.44.wasm",
300 "module_type": "binary",
301 "text": "type not valid to be used as import"
302 },
303 {
304 "type": "assert_invalid",
305 "line": 457,
306 "filename": "type-export-restrictions.45.wasm",
307 "module_type": "binary",
308 "text": "type not valid to be used as export"
309 },
310 {
311 "type": "module",
312 "line": 464,
313 "filename": "type-export-restrictions.46.wasm",
314 "module_type": "binary"
315 }
316 ]
317 }