Debian Codegraph @

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

raw
1 {
2 "source_filename": "tests/cli/shared-everything-threads/tables.wast",
3 "commands": [
4 {
5 "type": "module",
6 "line": 5,
7 "filename": "tables.0.wasm",
8 "module_type": "binary"
9 },
10 {
11 "type": "module",
12 "line": 19,
13 "filename": "tables.1.wasm",
14 "module_type": "binary"
15 },
16 {
17 "type": "assert_malformed",
18 "line": 24,
19 "filename": "tables.2.wat",
20 "module_type": "text",
21 "text": "unexpected token"
22 },
23 {
24 "type": "assert_malformed",
25 "line": 28,
26 "filename": "tables.3.wat",
27 "module_type": "text",
28 "text": "unexpected token"
29 },
30 {
31 "type": "assert_malformed",
32 "line": 34,
33 "filename": "tables.4.wat",
34 "module_type": "text",
35 "text": "expected a u64"
36 },
37 {
38 "type": "assert_invalid",
39 "line": 38,
40 "filename": "tables.5.wasm",
41 "module_type": "binary",
42 "text": "shared tables must have a shared element type"
43 },
44 {
45 "type": "assert_invalid",
46 "line": 42,
47 "filename": "tables.6.wasm",
48 "module_type": "binary",
49 "text": "shared tables must have a shared element type"
50 },
51 {
52 "type": "module",
53 "line": 48,
54 "filename": "tables.7.wasm",
55 "module_type": "binary"
56 },
57 {
58 "type": "module",
59 "line": 117,
60 "filename": "tables.8.wasm",
61 "module_type": "binary"
62 },
63 {
64 "type": "assert_invalid",
65 "line": 169,
66 "filename": "tables.9.wasm",
67 "module_type": "binary",
68 "text": "invalid type"
69 },
70 {
71 "type": "assert_invalid",
72 "line": 179,
73 "filename": "tables.10.wasm",
74 "module_type": "binary",
75 "text": "invalid type: `table.atomic.get` only allows subtypes of `anyref`"
76 },
77 {
78 "type": "assert_invalid",
79 "line": 189,
80 "filename": "tables.11.wasm",
81 "module_type": "binary",
82 "text": "invalid type: `table.atomic.set` only allows subtypes of `anyref`"
83 },
84 {
85 "type": "assert_invalid",
86 "line": 200,
87 "filename": "tables.12.wasm",
88 "module_type": "binary",
89 "text": "invalid type: `table.atomic.rmw.xchg` only allows subtypes of `anyref`"
90 }
91 ]
92 }