Debian Codegraph @

tests/snapshots/cli/shared-everything-threads/structs.wast.json

raw
1 {
2 "source_filename": "tests/cli/shared-everything-threads/structs.wast",
3 "commands": [
4 {
5 "type": "module",
6 "line": 4,
7 "filename": "structs.0.wasm",
8 "module_type": "binary"
9 },
10 {
11 "type": "assert_invalid",
12 "line": 18,
13 "filename": "structs.1.wasm",
14 "module_type": "binary",
15 "text": "type mismatch"
16 },
17 {
18 "type": "assert_invalid",
19 "line": 28,
20 "filename": "structs.2.wasm",
21 "module_type": "binary",
22 "text": "type mismatch"
23 },
24 {
25 "type": "assert_invalid",
26 "line": 39,
27 "filename": "structs.3.wasm",
28 "module_type": "binary",
29 "text": "must match super type"
30 },
31 {
32 "type": "assert_invalid",
33 "line": 48,
34 "filename": "structs.4.wasm",
35 "module_type": "binary",
36 "text": "must match super type"
37 },
38 {
39 "type": "assert_invalid",
40 "line": 57,
41 "filename": "structs.5.wasm",
42 "module_type": "binary",
43 "text": "must contain shared type"
44 },
45 {
46 "type": "module",
47 "line": 64,
48 "filename": "structs.6.wasm",
49 "module_type": "binary"
50 },
51 {
52 "type": "module",
53 "line": 69,
54 "filename": "structs.7.wasm",
55 "module_type": "binary"
56 },
57 {
58 "type": "module",
59 "line": 74,
60 "filename": "structs.8.wasm",
61 "module_type": "binary"
62 },
63 {
64 "type": "module",
65 "line": 97,
66 "filename": "structs.9.wasm",
67 "module_type": "binary"
68 },
69 {
70 "type": "assert_invalid",
71 "line": 106,
72 "filename": "structs.10.wasm",
73 "module_type": "binary",
74 "text": "field is immutable"
75 },
76 {
77 "type": "assert_invalid",
78 "line": 115,
79 "filename": "structs.11.wasm",
80 "module_type": "binary",
81 "text": "field is immutable"
82 },
83 {
84 "type": "assert_invalid",
85 "line": 124,
86 "filename": "structs.12.wasm",
87 "module_type": "binary",
88 "text": "field is immutable"
89 },
90 {
91 "type": "assert_invalid",
92 "line": 133,
93 "filename": "structs.13.wasm",
94 "module_type": "binary",
95 "text": "field is immutable"
96 },
97 {
98 "type": "assert_invalid",
99 "line": 142,
100 "filename": "structs.14.wasm",
101 "module_type": "binary",
102 "text": "field is immutable"
103 },
104 {
105 "type": "assert_invalid",
106 "line": 151,
107 "filename": "structs.15.wasm",
108 "module_type": "binary",
109 "text": "field is immutable"
110 },
111 {
112 "type": "assert_invalid",
113 "line": 160,
114 "filename": "structs.16.wasm",
115 "module_type": "binary",
116 "text": "field is immutable"
117 },
118 {
119 "type": "assert_invalid",
120 "line": 169,
121 "filename": "structs.17.wasm",
122 "module_type": "binary",
123 "text": "field is immutable"
124 },
125 {
126 "type": "module",
127 "line": 179,
128 "filename": "structs.18.wasm",
129 "module_type": "binary"
130 },
131 {
132 "type": "assert_invalid",
133 "line": 406,
134 "filename": "structs.19.wasm",
135 "module_type": "binary",
136 "text": "non-packed storage type"
137 },
138 {
139 "type": "assert_invalid",
140 "line": 415,
141 "filename": "structs.20.wasm",
142 "module_type": "binary",
143 "text": "non-packed storage types"
144 },
145 {
146 "type": "assert_invalid",
147 "line": 424,
148 "filename": "structs.21.wasm",
149 "module_type": "binary",
150 "text": "non-packed storage types"
151 },
152 {
153 "type": "assert_invalid",
154 "line": 433,
155 "filename": "structs.22.wasm",
156 "module_type": "binary",
157 "text": "non-packed storage types"
158 },
159 {
160 "type": "assert_invalid",
161 "line": 442,
162 "filename": "structs.23.wasm",
163 "module_type": "binary",
164 "text": "non-packed storage types"
165 },
166 {
167 "type": "assert_invalid",
168 "line": 451,
169 "filename": "structs.24.wasm",
170 "module_type": "binary",
171 "text": "invalid type"
172 },
173 {
174 "type": "assert_invalid",
175 "line": 461,
176 "filename": "structs.25.wasm",
177 "module_type": "binary",
178 "text": "invalid type"
179 },
180 {
181 "type": "assert_invalid",
182 "line": 471,
183 "filename": "structs.26.wasm",
184 "module_type": "binary",
185 "text": "invalid type"
186 },
187 {
188 "type": "assert_invalid",
189 "line": 481,
190 "filename": "structs.27.wasm",
191 "module_type": "binary",
192 "text": "invalid type"
193 },
194 {
195 "type": "assert_invalid",
196 "line": 491,
197 "filename": "structs.28.wasm",
198 "module_type": "binary",
199 "text": "invalid type"
200 },
201 {
202 "type": "assert_invalid",
203 "line": 501,
204 "filename": "structs.29.wasm",
205 "module_type": "binary",
206 "text": "invalid type"
207 },
208 {
209 "type": "assert_invalid",
210 "line": 511,
211 "filename": "structs.30.wasm",
212 "module_type": "binary",
213 "text": "invalid type"
214 },
215 {
216 "type": "assert_invalid",
217 "line": 522,
218 "filename": "structs.31.wasm",
219 "module_type": "binary",
220 "text": "invalid type"
221 },
222 {
223 "type": "assert_invalid",
224 "line": 534,
225 "filename": "structs.32.wasm",
226 "module_type": "binary",
227 "text": "invalid type: `struct.atomic.get` only allows `i32`, `i64` and subtypes of `anyref`"
228 },
229 {
230 "type": "assert_invalid",
231 "line": 545,
232 "filename": "structs.33.wasm",
233 "module_type": "binary",
234 "text": "invalid type: `struct.atomic.get` only allows `i32`, `i64` and subtypes of `anyref`"
235 },
236 {
237 "type": "assert_invalid",
238 "line": 556,
239 "filename": "structs.34.wasm",
240 "module_type": "binary",
241 "text": "can only use struct `get` with non-packed storage types"
242 },
243 {
244 "type": "assert_invalid",
245 "line": 567,
246 "filename": "structs.35.wasm",
247 "module_type": "binary",
248 "text": "invalid type: `struct.atomic.set` only allows `i8`, `i16`, `i32`, `i64` and subtypes of `anyref`"
249 }
250 ]
251 }