Debian Codegraph @

tests/snapshots/cli/component-model-gc/tuple-types.wast.json

raw
1 {
2 "source_filename": "tests/cli/component-model-gc/tuple-types.wast",
3 "commands": [
4 {
5 "type": "module",
6 "line": 3,
7 "filename": "tuple-types.0.wasm",
8 "module_type": "binary"
9 },
10 {
11 "type": "assert_invalid",
12 "line": 18,
13 "filename": "tuple-types.1.wasm",
14 "module_type": "binary",
15 "text": "core `struct` has 1 fields, but component `tuple` has 2 fields"
16 },
17 {
18 "type": "assert_invalid",
19 "line": 34,
20 "filename": "tuple-types.2.wasm",
21 "module_type": "binary",
22 "text": "core `struct` has 3 fields, but component `tuple` has 2 fields"
23 },
24 {
25 "type": "assert_invalid",
26 "line": 52,
27 "filename": "tuple-types.3.wasm",
28 "module_type": "binary",
29 "text": "expected to lower component `tuple` type to core `(ref null? (struct ...))`, but found `i32`"
30 }
31 ]
32 }