wa-lang.org/wazero@v1.0.2/internal/integration_test/spectest/v2/testdata/local_set.json (about)

     1  {"source_filename": "./local_set.wast",
     2   "commands": [
     3    {"type": "module", "line": 3, "filename": "local_set.0.wasm"}, 
     4    {"type": "assert_return", "line": 107, "action": {"type": "invoke", "field": "type-local-i32", "args": []}, "expected": []}, 
     5    {"type": "assert_return", "line": 108, "action": {"type": "invoke", "field": "type-local-i64", "args": []}, "expected": []}, 
     6    {"type": "assert_return", "line": 109, "action": {"type": "invoke", "field": "type-local-f32", "args": []}, "expected": []}, 
     7    {"type": "assert_return", "line": 110, "action": {"type": "invoke", "field": "type-local-f64", "args": []}, "expected": []}, 
     8    {"type": "assert_return", "line": 112, "action": {"type": "invoke", "field": "type-param-i32", "args": [{"type": "i32", "value": "2"}]}, "expected": []}, 
     9    {"type": "assert_return", "line": 113, "action": {"type": "invoke", "field": "type-param-i64", "args": [{"type": "i64", "value": "3"}]}, "expected": []}, 
    10    {"type": "assert_return", "line": 114, "action": {"type": "invoke", "field": "type-param-f32", "args": [{"type": "f32", "value": "1082969293"}]}, "expected": []}, 
    11    {"type": "assert_return", "line": 115, "action": {"type": "invoke", "field": "type-param-f64", "args": [{"type": "f64", "value": "4617878467915022336"}]}, "expected": []}, 
    12    {"type": "assert_return", "line": 117, "action": {"type": "invoke", "field": "as-block-value", "args": [{"type": "i32", "value": "0"}]}, "expected": []}, 
    13    {"type": "assert_return", "line": 118, "action": {"type": "invoke", "field": "as-loop-value", "args": [{"type": "i32", "value": "0"}]}, "expected": []}, 
    14    {"type": "assert_return", "line": 120, "action": {"type": "invoke", "field": "as-br-value", "args": [{"type": "i32", "value": "0"}]}, "expected": []}, 
    15    {"type": "assert_return", "line": 121, "action": {"type": "invoke", "field": "as-br_if-value", "args": [{"type": "i32", "value": "0"}]}, "expected": []}, 
    16    {"type": "assert_return", "line": 122, "action": {"type": "invoke", "field": "as-br_if-value-cond", "args": [{"type": "i32", "value": "0"}]}, "expected": []}, 
    17    {"type": "assert_return", "line": 123, "action": {"type": "invoke", "field": "as-br_table-value", "args": [{"type": "i32", "value": "0"}]}, "expected": []}, 
    18    {"type": "assert_return", "line": 125, "action": {"type": "invoke", "field": "as-return-value", "args": [{"type": "i32", "value": "0"}]}, "expected": []}, 
    19    {"type": "assert_return", "line": 127, "action": {"type": "invoke", "field": "as-if-then", "args": [{"type": "i32", "value": "1"}]}, "expected": []}, 
    20    {"type": "assert_return", "line": 128, "action": {"type": "invoke", "field": "as-if-else", "args": [{"type": "i32", "value": "0"}]}, "expected": []}, 
    21    {"type": "assert_return", "line": 131, "action": {"type": "invoke", "field": "type-mixed", "args": [{"type": "i64", "value": "1"}, {"type": "f32", "value": "1074580685"}, {"type": "f64", "value": "4614613358185178726"}, {"type": "i32", "value": "4"}, {"type": "i32", "value": "5"}]}, "expected": []}, 
    22    {"type": "assert_return", "line": 137, "action": {"type": "invoke", "field": "write", "args": [{"type": "i64", "value": "1"}, {"type": "f32", "value": "1073741824"}, {"type": "f64", "value": "4614613358185178726"}, {"type": "i32", "value": "4"}, {"type": "i32", "value": "5"}]}, "expected": [{"type": "i64", "value": "56"}]}, 
    23    {"type": "assert_invalid", "line": 148, "filename": "local_set.1.wasm", "text": "type mismatch", "module_type": "binary"}, 
    24    {"type": "assert_invalid", "line": 152, "filename": "local_set.2.wasm", "text": "type mismatch", "module_type": "binary"}, 
    25    {"type": "assert_invalid", "line": 156, "filename": "local_set.3.wasm", "text": "type mismatch", "module_type": "binary"}, 
    26    {"type": "assert_invalid", "line": 160, "filename": "local_set.4.wasm", "text": "type mismatch", "module_type": "binary"}, 
    27    {"type": "assert_invalid", "line": 169, "filename": "local_set.5.wasm", "text": "type mismatch", "module_type": "binary"}, 
    28    {"type": "assert_invalid", "line": 173, "filename": "local_set.6.wasm", "text": "type mismatch", "module_type": "binary"}, 
    29    {"type": "assert_invalid", "line": 177, "filename": "local_set.7.wasm", "text": "type mismatch", "module_type": "binary"}, 
    30    {"type": "assert_invalid", "line": 181, "filename": "local_set.8.wasm", "text": "type mismatch", "module_type": "binary"}, 
    31    {"type": "assert_invalid", "line": 186, "filename": "local_set.9.wasm", "text": "type mismatch", "module_type": "binary"}, 
    32    {"type": "assert_invalid", "line": 194, "filename": "local_set.10.wasm", "text": "type mismatch", "module_type": "binary"}, 
    33    {"type": "assert_invalid", "line": 203, "filename": "local_set.11.wasm", "text": "type mismatch", "module_type": "binary"}, 
    34    {"type": "assert_invalid", "line": 212, "filename": "local_set.12.wasm", "text": "type mismatch", "module_type": "binary"}, 
    35    {"type": "assert_invalid", "line": 221, "filename": "local_set.13.wasm", "text": "type mismatch", "module_type": "binary"}, 
    36    {"type": "assert_invalid", "line": 230, "filename": "local_set.14.wasm", "text": "type mismatch", "module_type": "binary"}, 
    37    {"type": "assert_invalid", "line": 239, "filename": "local_set.15.wasm", "text": "type mismatch", "module_type": "binary"}, 
    38    {"type": "assert_invalid", "line": 248, "filename": "local_set.16.wasm", "text": "type mismatch", "module_type": "binary"}, 
    39    {"type": "assert_invalid", "line": 257, "filename": "local_set.17.wasm", "text": "type mismatch", "module_type": "binary"}, 
    40    {"type": "assert_invalid", "line": 265, "filename": "local_set.18.wasm", "text": "type mismatch", "module_type": "binary"}, 
    41    {"type": "assert_invalid", "line": 273, "filename": "local_set.19.wasm", "text": "type mismatch", "module_type": "binary"}, 
    42    {"type": "assert_invalid", "line": 282, "filename": "local_set.20.wasm", "text": "type mismatch", "module_type": "binary"}, 
    43    {"type": "assert_invalid", "line": 301, "filename": "local_set.21.wasm", "text": "type mismatch", "module_type": "binary"}, 
    44    {"type": "assert_invalid", "line": 305, "filename": "local_set.22.wasm", "text": "type mismatch", "module_type": "binary"}, 
    45    {"type": "assert_invalid", "line": 309, "filename": "local_set.23.wasm", "text": "type mismatch", "module_type": "binary"}, 
    46    {"type": "assert_invalid", "line": 317, "filename": "local_set.24.wasm", "text": "type mismatch", "module_type": "binary"}, 
    47    {"type": "assert_invalid", "line": 321, "filename": "local_set.25.wasm", "text": "type mismatch", "module_type": "binary"}, 
    48    {"type": "assert_invalid", "line": 325, "filename": "local_set.26.wasm", "text": "type mismatch", "module_type": "binary"}, 
    49    {"type": "assert_invalid", "line": 329, "filename": "local_set.27.wasm", "text": "type mismatch", "module_type": "binary"}, 
    50    {"type": "assert_invalid", "line": 337, "filename": "local_set.28.wasm", "text": "unknown local", "module_type": "binary"}, 
    51    {"type": "assert_invalid", "line": 341, "filename": "local_set.29.wasm", "text": "unknown local", "module_type": "binary"}, 
    52    {"type": "assert_invalid", "line": 346, "filename": "local_set.30.wasm", "text": "unknown local", "module_type": "binary"}, 
    53    {"type": "assert_invalid", "line": 350, "filename": "local_set.31.wasm", "text": "unknown local", "module_type": "binary"}, 
    54    {"type": "assert_invalid", "line": 355, "filename": "local_set.32.wasm", "text": "unknown local", "module_type": "binary"}, 
    55    {"type": "assert_invalid", "line": 359, "filename": "local_set.33.wasm", "text": "unknown local", "module_type": "binary"}]}