| 1 |
{ |
| 2 |
"source_filename": "tests/cli/component-model/export-ascription.wast", |
| 3 |
"commands": [ |
| 4 |
{ |
| 5 |
"type": "module", |
| 6 |
"line": 3, |
| 7 |
"filename": "export-ascription.0.wasm", |
| 8 |
"module_type": "binary" |
| 9 |
}, |
| 10 |
{ |
| 11 |
"type": "module", |
| 12 |
"line": 9, |
| 13 |
"filename": "export-ascription.1.wasm", |
| 14 |
"module_type": "binary" |
| 15 |
}, |
| 16 |
{ |
| 17 |
"type": "assert_invalid", |
| 18 |
"line": 16, |
| 19 |
"filename": "export-ascription.2.wasm", |
| 20 |
"module_type": "binary", |
| 21 |
"text": "ascribed type of export is not compatible" |
| 22 |
}, |
| 23 |
{ |
| 24 |
"type": "assert_invalid", |
| 25 |
"line": 24, |
| 26 |
"filename": "export-ascription.3.wasm", |
| 27 |
"module_type": "binary", |
| 28 |
"text": "missing expected export `f`" |
| 29 |
} |
| 30 |
] |
| 31 |
} |