{"source_filename": "./loop.wast", "commands": [ {"type": "module", "line": 3, "filename": "loop.0.wasm"}, {"type": "assert_return", "line": 305, "action": {"type": "invoke", "field": "empty", "args": []}, "expected": []}, {"type": "assert_return", "line": 306, "action": {"type": "invoke", "field": "singular", "args": []}, "expected": [{"type": "i32", "value": "7"}]}, {"type": "assert_return", "line": 307, "action": {"type": "invoke", "field": "multi", "args": []}, "expected": [{"type": "i32", "value": "8"}]}, {"type": "assert_return", "line": 308, "action": {"type": "invoke", "field": "nested", "args": []}, "expected": [{"type": "i32", "value": "9"}]}, {"type": "assert_return", "line": 309, "action": {"type": "invoke", "field": "deep", "args": []}, "expected": [{"type": "i32", "value": "150"}]}, {"type": "assert_return", "line": 311, "action": {"type": "invoke", "field": "as-select-first", "args": []}, "expected": [{"type": "i32", "value": "1"}]}, {"type": "assert_return", "line": 312, "action": {"type": "invoke", "field": "as-select-mid", "args": []}, "expected": [{"type": "i32", "value": "2"}]}, {"type": "assert_return", "line": 313, "action": {"type": "invoke", "field": "as-select-last", "args": []}, "expected": [{"type": "i32", "value": "2"}]}, {"type": "assert_return", "line": 315, "action": {"type": "invoke", "field": "as-if-condition", "args": []}, "expected": []}, {"type": "assert_return", "line": 316, "action": {"type": "invoke", "field": "as-if-then", "args": []}, "expected": [{"type": "i32", "value": "1"}]}, {"type": "assert_return", "line": 317, "action": {"type": "invoke", "field": "as-if-else", "args": []}, "expected": [{"type": "i32", "value": "2"}]}, {"type": "assert_return", "line": 319, "action": {"type": "invoke", "field": "as-br_if-first", "args": []}, "expected": [{"type": "i32", "value": "1"}]}, {"type": "assert_return", "line": 320, "action": {"type": "invoke", "field": "as-br_if-last", "args": []}, "expected": [{"type": "i32", "value": "2"}]}, {"type": "assert_return", "line": 322, "action": {"type": "invoke", "field": "as-br_table-first", "args": []}, "expected": [{"type": "i32", "value": "1"}]}, {"type": "assert_return", "line": 323, "action": {"type": "invoke", "field": "as-br_table-last", "args": []}, "expected": [{"type": "i32", "value": "2"}]}, {"type": "assert_return", "line": 325, "action": {"type": "invoke", "field": "as-call_indirect-first", "args": []}, "expected": [{"type": "i32", "value": "1"}]}, {"type": "assert_return", "line": 326, "action": {"type": "invoke", "field": "as-call_indirect-mid", "args": []}, "expected": [{"type": "i32", "value": "2"}]}, {"type": "assert_return", "line": 327, "action": {"type": "invoke", "field": "as-call_indirect-last", "args": []}, "expected": [{"type": "i32", "value": "1"}]}, {"type": "assert_return", "line": 329, "action": {"type": "invoke", "field": "as-store-first", "args": []}, "expected": []}, {"type": "assert_return", "line": 330, "action": {"type": "invoke", "field": "as-store-last", "args": []}, "expected": []}, {"type": "assert_return", "line": 332, "action": {"type": "invoke", "field": "as-memory.grow-value", "args": []}, "expected": [{"type": "i32", "value": "1"}]}, {"type": "assert_return", "line": 333, "action": {"type": "invoke", "field": "as-call-value", "args": []}, "expected": [{"type": "i32", "value": "1"}]}, {"type": "assert_return", "line": 334, "action": {"type": "invoke", "field": "as-return-value", "args": []}, "expected": [{"type": "i32", "value": "1"}]}, {"type": "assert_return", "line": 335, "action": {"type": "invoke", "field": "as-drop-operand", "args": []}, "expected": []}, {"type": "assert_return", "line": 336, "action": {"type": "invoke", "field": "as-br-value", "args": []}, "expected": [{"type": "i32", "value": "1"}]}, {"type": "assert_return", "line": 337, "action": {"type": "invoke", "field": "as-local.set-value", "args": []}, "expected": [{"type": "i32", "value": "1"}]}, {"type": "assert_return", "line": 338, "action": {"type": "invoke", "field": "as-local.tee-value", "args": []}, "expected": [{"type": "i32", "value": "1"}]}, {"type": "assert_return", "line": 339, "action": {"type": "invoke", "field": "as-global.set-value", "args": []}, "expected": [{"type": "i32", "value": "1"}]}, {"type": "assert_return", "line": 340, "action": {"type": "invoke", "field": "as-load-operand", "args": []}, "expected": [{"type": "i32", "value": "1"}]}, {"type": "assert_return", "line": 342, "action": {"type": "invoke", "field": "as-unary-operand", "args": []}, "expected": [{"type": "i32", "value": "0"}]}, {"type": "assert_return", "line": 343, "action": {"type": "invoke", "field": "as-binary-operand", "args": []}, "expected": [{"type": "i32", "value": "12"}]}, {"type": "assert_return", "line": 344, "action": {"type": "invoke", "field": "as-test-operand", "args": []}, "expected": [{"type": "i32", "value": "0"}]}, {"type": "assert_return", "line": 345, "action": {"type": "invoke", "field": "as-compare-operand", "args": []}, "expected": [{"type": "i32", "value": "0"}]}, {"type": "assert_return", "line": 347, "action": {"type": "invoke", "field": "break-bare", "args": []}, "expected": [{"type": "i32", "value": "19"}]}, {"type": "assert_return", "line": 348, "action": {"type": "invoke", "field": "break-value", "args": []}, "expected": [{"type": "i32", "value": "18"}]}, {"type": "assert_return", "line": 349, "action": {"type": "invoke", "field": "break-repeated", "args": []}, "expected": [{"type": "i32", "value": "18"}]}, {"type": "assert_return", "line": 350, "action": {"type": "invoke", "field": "break-inner", "args": []}, "expected": [{"type": "i32", "value": "31"}]}, {"type": "assert_return", "line": 352, "action": {"type": "invoke", "field": "effects", "args": []}, "expected": [{"type": "i32", "value": "1"}]}, {"type": "assert_return", "line": 354, "action": {"type": "invoke", "field": "while", "args": [{"type": "i64", "value": "0"}]}, "expected": [{"type": "i64", "value": "1"}]}, {"type": "assert_return", "line": 355, "action": {"type": "invoke", "field": "while", "args": [{"type": "i64", "value": "1"}]}, "expected": [{"type": "i64", "value": "1"}]}, {"type": "assert_return", "line": 356, "action": {"type": "invoke", "field": "while", "args": [{"type": "i64", "value": "2"}]}, "expected": [{"type": "i64", "value": "2"}]}, {"type": "assert_return", "line": 357, "action": {"type": "invoke", "field": "while", "args": [{"type": "i64", "value": "3"}]}, "expected": [{"type": "i64", "value": "6"}]}, {"type": "assert_return", "line": 358, "action": {"type": "invoke", "field": "while", "args": [{"type": "i64", "value": "5"}]}, "expected": [{"type": "i64", "value": "120"}]}, {"type": "assert_return", "line": 359, "action": {"type": "invoke", "field": "while", "args": [{"type": "i64", "value": "20"}]}, "expected": [{"type": "i64", "value": "2432902008176640000"}]}, {"type": "assert_return", "line": 361, "action": {"type": "invoke", "field": "for", "args": [{"type": "i64", "value": "0"}]}, "expected": [{"type": "i64", "value": "1"}]}, {"type": "assert_return", "line": 362, "action": {"type": "invoke", "field": "for", "args": [{"type": "i64", "value": "1"}]}, "expected": [{"type": "i64", "value": "1"}]}, {"type": "assert_return", "line": 363, "action": {"type": "invoke", "field": "for", "args": [{"type": "i64", "value": "2"}]}, "expected": [{"type": "i64", "value": "2"}]}, {"type": "assert_return", "line": 364, "action": {"type": "invoke", "field": "for", "args": [{"type": "i64", "value": "3"}]}, "expected": [{"type": "i64", "value": "6"}]}, {"type": "assert_return", "line": 365, "action": {"type": "invoke", "field": "for", "args": [{"type": "i64", "value": "5"}]}, "expected": [{"type": "i64", "value": "120"}]}, {"type": "assert_return", "line": 366, "action": {"type": "invoke", "field": "for", "args": [{"type": "i64", "value": "20"}]}, "expected": [{"type": "i64", "value": "2432902008176640000"}]}, {"type": "assert_return", "line": 368, "action": {"type": "invoke", "field": "nesting", "args": [{"type": "f32", "value": "0"}, {"type": "f32", "value": "1088421888"}]}, "expected": [{"type": "f32", "value": "0"}]}, {"type": "assert_return", "line": 369, "action": {"type": "invoke", "field": "nesting", "args": [{"type": "f32", "value": "1088421888"}, {"type": "f32", "value": "0"}]}, "expected": [{"type": "f32", "value": "0"}]}, {"type": "assert_return", "line": 370, "action": {"type": "invoke", "field": "nesting", "args": [{"type": "f32", "value": "1065353216"}, {"type": "f32", "value": "1065353216"}]}, "expected": [{"type": "f32", "value": "1065353216"}]}, {"type": "assert_return", "line": 371, "action": {"type": "invoke", "field": "nesting", "args": [{"type": "f32", "value": "1065353216"}, {"type": "f32", "value": "1073741824"}]}, "expected": [{"type": "f32", "value": "1073741824"}]}, {"type": "assert_return", "line": 372, "action": {"type": "invoke", "field": "nesting", "args": [{"type": "f32", "value": "1065353216"}, {"type": "f32", "value": "1077936128"}]}, "expected": [{"type": "f32", "value": "1082130432"}]}, {"type": "assert_return", "line": 373, "action": {"type": "invoke", "field": "nesting", "args": [{"type": "f32", "value": "1065353216"}, {"type": "f32", "value": "1082130432"}]}, "expected": [{"type": "f32", "value": "1086324736"}]}, {"type": "assert_return", "line": 374, "action": {"type": "invoke", "field": "nesting", "args": [{"type": "f32", "value": "1065353216"}, {"type": "f32", "value": "1120403456"}]}, "expected": [{"type": "f32", "value": "1159684096"}]}, {"type": "assert_return", "line": 375, "action": {"type": "invoke", "field": "nesting", "args": [{"type": "f32", "value": "1065353216"}, {"type": "f32", "value": "1120534528"}]}, "expected": [{"type": "f32", "value": "1159892992"}]}, {"type": "assert_return", "line": 376, "action": {"type": "invoke", "field": "nesting", "args": [{"type": "f32", "value": "1073741824"}, {"type": "f32", "value": "1065353216"}]}, "expected": [{"type": "f32", "value": "1065353216"}]}, {"type": "assert_return", "line": 377, "action": {"type": "invoke", "field": "nesting", "args": [{"type": "f32", "value": "1077936128"}, {"type": "f32", "value": "1065353216"}]}, "expected": [{"type": "f32", "value": "1065353216"}]}, {"type": "assert_return", "line": 378, "action": {"type": "invoke", "field": "nesting", "args": [{"type": "f32", "value": "1092616192"}, {"type": "f32", "value": "1065353216"}]}, "expected": [{"type": "f32", "value": "1065353216"}]}, {"type": "assert_return", "line": 379, "action": {"type": "invoke", "field": "nesting", "args": [{"type": "f32", "value": "1073741824"}, {"type": "f32", "value": "1073741824"}]}, "expected": [{"type": "f32", "value": "1077936128"}]}, {"type": "assert_return", "line": 380, "action": {"type": "invoke", "field": "nesting", "args": [{"type": "f32", "value": "1073741824"}, {"type": "f32", "value": "1077936128"}]}, "expected": [{"type": "f32", "value": "1082130432"}]}, {"type": "assert_return", "line": 381, "action": {"type": "invoke", "field": "nesting", "args": [{"type": "f32", "value": "1088421888"}, {"type": "f32", "value": "1082130432"}]}, "expected": [{"type": "f32", "value": "1092940751"}]}, {"type": "assert_return", "line": 382, "action": {"type": "invoke", "field": "nesting", "args": [{"type": "f32", "value": "1088421888"}, {"type": "f32", "value": "1120403456"}]}, "expected": [{"type": "f32", "value": "1166601314"}]}, {"type": "assert_return", "line": 383, "action": {"type": "invoke", "field": "nesting", "args": [{"type": "f32", "value": "1088421888"}, {"type": "f32", "value": "1120534528"}]}, "expected": [{"type": "f32", "value": "1159892992"}]}, {"type": "assert_invalid", "line": 386, "filename": "loop.1.wasm", "text": "type mismatch", "module_type": "binary"}, {"type": "assert_invalid", "line": 390, "filename": "loop.2.wasm", "text": "type mismatch", "module_type": "binary"}, {"type": "assert_invalid", "line": 394, "filename": "loop.3.wasm", "text": "type mismatch", "module_type": "binary"}, {"type": "assert_invalid", "line": 398, "filename": "loop.4.wasm", "text": "type mismatch", "module_type": "binary"}, {"type": "assert_invalid", "line": 403, "filename": "loop.5.wasm", "text": "type mismatch", "module_type": "binary"}, {"type": "assert_invalid", "line": 409, "filename": "loop.6.wasm", "text": "type mismatch", "module_type": "binary"}, {"type": "assert_invalid", "line": 415, "filename": "loop.7.wasm", "text": "type mismatch", "module_type": "binary"}, {"type": "assert_invalid", "line": 421, "filename": "loop.8.wasm", "text": "type mismatch", "module_type": "binary"}, {"type": "assert_invalid", "line": 427, "filename": "loop.9.wasm", "text": "type mismatch", "module_type": "binary"}, {"type": "assert_invalid", "line": 434, "filename": "loop.10.wasm", "text": "type mismatch", "module_type": "binary"}, {"type": "assert_invalid", "line": 443, "filename": "loop.11.wasm", "text": "type mismatch", "module_type": "binary"}, {"type": "assert_invalid", "line": 452, "filename": "loop.12.wasm", "text": "type mismatch", "module_type": "binary"}, {"type": "assert_malformed", "line": 463, "filename": "loop.13.wat", "text": "mismatching label", "module_type": "text"}, {"type": "assert_malformed", "line": 467, "filename": "loop.14.wat", "text": "mismatching label", "module_type": "text"}]}