Debian Codegraph @

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

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