| 1 |
{ |
| 2 |
"source_filename": "tests/cli/component-model/instance-type.wast", |
| 3 |
"commands": [ |
| 4 |
{ |
| 5 |
"type": "module", |
| 6 |
"line": 4, |
| 7 |
"filename": "instance-type.0.wasm", |
| 8 |
"module_type": "binary" |
| 9 |
}, |
| 10 |
{ |
| 11 |
"type": "module", |
| 12 |
"line": 70, |
| 13 |
"filename": "instance-type.1.wasm", |
| 14 |
"module_type": "binary" |
| 15 |
}, |
| 16 |
{ |
| 17 |
"type": "module", |
| 18 |
"line": 75, |
| 19 |
"filename": "instance-type.2.wasm", |
| 20 |
"module_type": "binary" |
| 21 |
}, |
| 22 |
{ |
| 23 |
"type": "module", |
| 24 |
"line": 85, |
| 25 |
"filename": "instance-type.3.wasm", |
| 26 |
"module_type": "binary" |
| 27 |
}, |
| 28 |
{ |
| 29 |
"type": "module", |
| 30 |
"line": 109, |
| 31 |
"filename": "instance-type.4.wasm", |
| 32 |
"module_type": "binary" |
| 33 |
}, |
| 34 |
{ |
| 35 |
"type": "assert_invalid", |
| 36 |
"line": 181, |
| 37 |
"filename": "instance-type.5.wasm", |
| 38 |
"module_type": "binary", |
| 39 |
"text": "export name `a` conflicts with previous name `a`" |
| 40 |
}, |
| 41 |
{ |
| 42 |
"type": "assert_invalid", |
| 43 |
"line": 188, |
| 44 |
"filename": "instance-type.6.wasm", |
| 45 |
"module_type": "binary", |
| 46 |
"text": "type index 0 is not an instance type" |
| 47 |
}, |
| 48 |
{ |
| 49 |
"type": "assert_invalid", |
| 50 |
"line": 196, |
| 51 |
"filename": "instance-type.7.wasm", |
| 52 |
"module_type": "binary", |
| 53 |
"text": "core type index 0 is not a module type" |
| 54 |
}, |
| 55 |
{ |
| 56 |
"type": "assert_malformed", |
| 57 |
"line": 204, |
| 58 |
"filename": "instance-type.8.wat", |
| 59 |
"module_type": "text", |
| 60 |
"text": "unknown core type" |
| 61 |
}, |
| 62 |
{ |
| 63 |
"type": "assert_invalid", |
| 64 |
"line": 211, |
| 65 |
"filename": "instance-type.9.wasm", |
| 66 |
"module_type": "binary", |
| 67 |
"text": "type index 0 is not a function type" |
| 68 |
}, |
| 69 |
{ |
| 70 |
"type": "assert_invalid", |
| 71 |
"line": 219, |
| 72 |
"filename": "instance-type.10.wasm", |
| 73 |
"module_type": "binary", |
| 74 |
"text": "type index 0 is not a function type" |
| 75 |
}, |
| 76 |
{ |
| 77 |
"type": "assert_invalid", |
| 78 |
"line": 227, |
| 79 |
"filename": "instance-type.11.wasm", |
| 80 |
"module_type": "binary", |
| 81 |
"text": "type index 0 is not a function type" |
| 82 |
} |
| 83 |
] |
| 84 |
} |