wa-lang.org/wazero@v1.0.2/internal/integration_test/spectest/v1/testdata/call_indirect.json (about) 1 {"source_filename": "./call_indirect.wast", 2 "commands": [ 3 {"type": "module", "line": 3, "filename": "call_indirect.0.wasm"}, 4 {"type": "assert_return", "line": 447, "action": {"type": "invoke", "field": "type-i32", "args": []}, "expected": [{"type": "i32", "value": "306"}]}, 5 {"type": "assert_return", "line": 448, "action": {"type": "invoke", "field": "type-i64", "args": []}, "expected": [{"type": "i64", "value": "356"}]}, 6 {"type": "assert_return", "line": 449, "action": {"type": "invoke", "field": "type-f32", "args": []}, "expected": [{"type": "f32", "value": "1165172736"}]}, 7 {"type": "assert_return", "line": 450, "action": {"type": "invoke", "field": "type-f64", "args": []}, "expected": [{"type": "f64", "value": "4660882566700597248"}]}, 8 {"type": "assert_return", "line": 452, "action": {"type": "invoke", "field": "type-index", "args": []}, "expected": [{"type": "i64", "value": "100"}]}, 9 {"type": "assert_return", "line": 454, "action": {"type": "invoke", "field": "type-first-i32", "args": []}, "expected": [{"type": "i32", "value": "32"}]}, 10 {"type": "assert_return", "line": 455, "action": {"type": "invoke", "field": "type-first-i64", "args": []}, "expected": [{"type": "i64", "value": "64"}]}, 11 {"type": "assert_return", "line": 456, "action": {"type": "invoke", "field": "type-first-f32", "args": []}, "expected": [{"type": "f32", "value": "1068037571"}]}, 12 {"type": "assert_return", "line": 457, "action": {"type": "invoke", "field": "type-first-f64", "args": []}, "expected": [{"type": "f64", "value": "4610064722561534525"}]}, 13 {"type": "assert_return", "line": 459, "action": {"type": "invoke", "field": "type-second-i32", "args": []}, "expected": [{"type": "i32", "value": "32"}]}, 14 {"type": "assert_return", "line": 460, "action": {"type": "invoke", "field": "type-second-i64", "args": []}, "expected": [{"type": "i64", "value": "64"}]}, 15 {"type": "assert_return", "line": 461, "action": {"type": "invoke", "field": "type-second-f32", "args": []}, "expected": [{"type": "f32", "value": "1107296256"}]}, 16 {"type": "assert_return", "line": 462, "action": {"type": "invoke", "field": "type-second-f64", "args": []}, "expected": [{"type": "f64", "value": "4634211053438658150"}]}, 17 {"type": "assert_return", "line": 464, "action": {"type": "invoke", "field": "dispatch", "args": [{"type": "i32", "value": "5"}, {"type": "i64", "value": "2"}]}, "expected": [{"type": "i64", "value": "2"}]}, 18 {"type": "assert_return", "line": 465, "action": {"type": "invoke", "field": "dispatch", "args": [{"type": "i32", "value": "5"}, {"type": "i64", "value": "5"}]}, "expected": [{"type": "i64", "value": "5"}]}, 19 {"type": "assert_return", "line": 466, "action": {"type": "invoke", "field": "dispatch", "args": [{"type": "i32", "value": "12"}, {"type": "i64", "value": "5"}]}, "expected": [{"type": "i64", "value": "120"}]}, 20 {"type": "assert_return", "line": 467, "action": {"type": "invoke", "field": "dispatch", "args": [{"type": "i32", "value": "13"}, {"type": "i64", "value": "5"}]}, "expected": [{"type": "i64", "value": "8"}]}, 21 {"type": "assert_return", "line": 468, "action": {"type": "invoke", "field": "dispatch", "args": [{"type": "i32", "value": "20"}, {"type": "i64", "value": "2"}]}, "expected": [{"type": "i64", "value": "2"}]}, 22 {"type": "assert_trap", "line": 469, "action": {"type": "invoke", "field": "dispatch", "args": [{"type": "i32", "value": "0"}, {"type": "i64", "value": "2"}]}, "text": "indirect call type mismatch", "expected": [{"type": "i64"}]}, 23 {"type": "assert_trap", "line": 470, "action": {"type": "invoke", "field": "dispatch", "args": [{"type": "i32", "value": "15"}, {"type": "i64", "value": "2"}]}, "text": "indirect call type mismatch", "expected": [{"type": "i64"}]}, 24 {"type": "assert_trap", "line": 471, "action": {"type": "invoke", "field": "dispatch", "args": [{"type": "i32", "value": "29"}, {"type": "i64", "value": "2"}]}, "text": "undefined element", "expected": [{"type": "i64"}]}, 25 {"type": "assert_trap", "line": 472, "action": {"type": "invoke", "field": "dispatch", "args": [{"type": "i32", "value": "4294967295"}, {"type": "i64", "value": "2"}]}, "text": "undefined element", "expected": [{"type": "i64"}]}, 26 {"type": "assert_trap", "line": 473, "action": {"type": "invoke", "field": "dispatch", "args": [{"type": "i32", "value": "1213432423"}, {"type": "i64", "value": "2"}]}, "text": "undefined element", "expected": [{"type": "i64"}]}, 27 {"type": "assert_return", "line": 475, "action": {"type": "invoke", "field": "dispatch-structural-i64", "args": [{"type": "i32", "value": "5"}]}, "expected": [{"type": "i64", "value": "9"}]}, 28 {"type": "assert_return", "line": 476, "action": {"type": "invoke", "field": "dispatch-structural-i64", "args": [{"type": "i32", "value": "12"}]}, "expected": [{"type": "i64", "value": "362880"}]}, 29 {"type": "assert_return", "line": 477, "action": {"type": "invoke", "field": "dispatch-structural-i64", "args": [{"type": "i32", "value": "13"}]}, "expected": [{"type": "i64", "value": "55"}]}, 30 {"type": "assert_return", "line": 478, "action": {"type": "invoke", "field": "dispatch-structural-i64", "args": [{"type": "i32", "value": "20"}]}, "expected": [{"type": "i64", "value": "9"}]}, 31 {"type": "assert_trap", "line": 479, "action": {"type": "invoke", "field": "dispatch-structural-i64", "args": [{"type": "i32", "value": "11"}]}, "text": "indirect call type mismatch", "expected": [{"type": "i64"}]}, 32 {"type": "assert_trap", "line": 480, "action": {"type": "invoke", "field": "dispatch-structural-i64", "args": [{"type": "i32", "value": "22"}]}, "text": "indirect call type mismatch", "expected": [{"type": "i64"}]}, 33 {"type": "assert_return", "line": 482, "action": {"type": "invoke", "field": "dispatch-structural-i32", "args": [{"type": "i32", "value": "4"}]}, "expected": [{"type": "i32", "value": "9"}]}, 34 {"type": "assert_return", "line": 483, "action": {"type": "invoke", "field": "dispatch-structural-i32", "args": [{"type": "i32", "value": "23"}]}, "expected": [{"type": "i32", "value": "362880"}]}, 35 {"type": "assert_return", "line": 484, "action": {"type": "invoke", "field": "dispatch-structural-i32", "args": [{"type": "i32", "value": "26"}]}, "expected": [{"type": "i32", "value": "55"}]}, 36 {"type": "assert_return", "line": 485, "action": {"type": "invoke", "field": "dispatch-structural-i32", "args": [{"type": "i32", "value": "19"}]}, "expected": [{"type": "i32", "value": "9"}]}, 37 {"type": "assert_trap", "line": 486, "action": {"type": "invoke", "field": "dispatch-structural-i32", "args": [{"type": "i32", "value": "9"}]}, "text": "indirect call type mismatch", "expected": [{"type": "i32"}]}, 38 {"type": "assert_trap", "line": 487, "action": {"type": "invoke", "field": "dispatch-structural-i32", "args": [{"type": "i32", "value": "21"}]}, "text": "indirect call type mismatch", "expected": [{"type": "i32"}]}, 39 {"type": "assert_return", "line": 489, "action": {"type": "invoke", "field": "dispatch-structural-f32", "args": [{"type": "i32", "value": "6"}]}, "expected": [{"type": "f32", "value": "1091567616"}]}, 40 {"type": "assert_return", "line": 490, "action": {"type": "invoke", "field": "dispatch-structural-f32", "args": [{"type": "i32", "value": "24"}]}, "expected": [{"type": "f32", "value": "1219571712"}]}, 41 {"type": "assert_return", "line": 491, "action": {"type": "invoke", "field": "dispatch-structural-f32", "args": [{"type": "i32", "value": "27"}]}, "expected": [{"type": "f32", "value": "1113325568"}]}, 42 {"type": "assert_return", "line": 492, "action": {"type": "invoke", "field": "dispatch-structural-f32", "args": [{"type": "i32", "value": "21"}]}, "expected": [{"type": "f32", "value": "1091567616"}]}, 43 {"type": "assert_trap", "line": 493, "action": {"type": "invoke", "field": "dispatch-structural-f32", "args": [{"type": "i32", "value": "8"}]}, "text": "indirect call type mismatch", "expected": [{"type": "f32"}]}, 44 {"type": "assert_trap", "line": 494, "action": {"type": "invoke", "field": "dispatch-structural-f32", "args": [{"type": "i32", "value": "19"}]}, "text": "indirect call type mismatch", "expected": [{"type": "f32"}]}, 45 {"type": "assert_return", "line": 496, "action": {"type": "invoke", "field": "dispatch-structural-f64", "args": [{"type": "i32", "value": "7"}]}, "expected": [{"type": "f64", "value": "4621256167635550208"}]}, 46 {"type": "assert_return", "line": 497, "action": {"type": "invoke", "field": "dispatch-structural-f64", "args": [{"type": "i32", "value": "25"}]}, "expected": [{"type": "f64", "value": "4689977843394805760"}]}, 47 {"type": "assert_return", "line": 498, "action": {"type": "invoke", "field": "dispatch-structural-f64", "args": [{"type": "i32", "value": "28"}]}, "expected": [{"type": "f64", "value": "4632937379169042432"}]}, 48 {"type": "assert_return", "line": 499, "action": {"type": "invoke", "field": "dispatch-structural-f64", "args": [{"type": "i32", "value": "22"}]}, "expected": [{"type": "f64", "value": "4621256167635550208"}]}, 49 {"type": "assert_trap", "line": 500, "action": {"type": "invoke", "field": "dispatch-structural-f64", "args": [{"type": "i32", "value": "10"}]}, "text": "indirect call type mismatch", "expected": [{"type": "f64"}]}, 50 {"type": "assert_trap", "line": 501, "action": {"type": "invoke", "field": "dispatch-structural-f64", "args": [{"type": "i32", "value": "18"}]}, "text": "indirect call type mismatch", "expected": [{"type": "f64"}]}, 51 {"type": "assert_return", "line": 503, "action": {"type": "invoke", "field": "fac-i64", "args": [{"type": "i64", "value": "0"}]}, "expected": [{"type": "i64", "value": "1"}]}, 52 {"type": "assert_return", "line": 504, "action": {"type": "invoke", "field": "fac-i64", "args": [{"type": "i64", "value": "1"}]}, "expected": [{"type": "i64", "value": "1"}]}, 53 {"type": "assert_return", "line": 505, "action": {"type": "invoke", "field": "fac-i64", "args": [{"type": "i64", "value": "5"}]}, "expected": [{"type": "i64", "value": "120"}]}, 54 {"type": "assert_return", "line": 506, "action": {"type": "invoke", "field": "fac-i64", "args": [{"type": "i64", "value": "25"}]}, "expected": [{"type": "i64", "value": "7034535277573963776"}]}, 55 {"type": "assert_return", "line": 508, "action": {"type": "invoke", "field": "fac-i32", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "1"}]}, 56 {"type": "assert_return", "line": 509, "action": {"type": "invoke", "field": "fac-i32", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "1"}]}, 57 {"type": "assert_return", "line": 510, "action": {"type": "invoke", "field": "fac-i32", "args": [{"type": "i32", "value": "5"}]}, "expected": [{"type": "i32", "value": "120"}]}, 58 {"type": "assert_return", "line": 511, "action": {"type": "invoke", "field": "fac-i32", "args": [{"type": "i32", "value": "10"}]}, "expected": [{"type": "i32", "value": "3628800"}]}, 59 {"type": "assert_return", "line": 513, "action": {"type": "invoke", "field": "fac-f32", "args": [{"type": "f32", "value": "0"}]}, "expected": [{"type": "f32", "value": "1065353216"}]}, 60 {"type": "assert_return", "line": 514, "action": {"type": "invoke", "field": "fac-f32", "args": [{"type": "f32", "value": "1065353216"}]}, "expected": [{"type": "f32", "value": "1065353216"}]}, 61 {"type": "assert_return", "line": 515, "action": {"type": "invoke", "field": "fac-f32", "args": [{"type": "f32", "value": "1084227584"}]}, "expected": [{"type": "f32", "value": "1123024896"}]}, 62 {"type": "assert_return", "line": 516, "action": {"type": "invoke", "field": "fac-f32", "args": [{"type": "f32", "value": "1092616192"}]}, "expected": [{"type": "f32", "value": "1247640576"}]}, 63 {"type": "assert_return", "line": 518, "action": {"type": "invoke", "field": "fac-f64", "args": [{"type": "f64", "value": "0"}]}, "expected": [{"type": "f64", "value": "4607182418800017408"}]}, 64 {"type": "assert_return", "line": 519, "action": {"type": "invoke", "field": "fac-f64", "args": [{"type": "f64", "value": "4607182418800017408"}]}, "expected": [{"type": "f64", "value": "4607182418800017408"}]}, 65 {"type": "assert_return", "line": 520, "action": {"type": "invoke", "field": "fac-f64", "args": [{"type": "f64", "value": "4617315517961601024"}]}, "expected": [{"type": "f64", "value": "4638144666238189568"}]}, 66 {"type": "assert_return", "line": 521, "action": {"type": "invoke", "field": "fac-f64", "args": [{"type": "f64", "value": "4621819117588971520"}]}, "expected": [{"type": "f64", "value": "4705047200009289728"}]}, 67 {"type": "assert_return", "line": 523, "action": {"type": "invoke", "field": "fib-i64", "args": [{"type": "i64", "value": "0"}]}, "expected": [{"type": "i64", "value": "1"}]}, 68 {"type": "assert_return", "line": 524, "action": {"type": "invoke", "field": "fib-i64", "args": [{"type": "i64", "value": "1"}]}, "expected": [{"type": "i64", "value": "1"}]}, 69 {"type": "assert_return", "line": 525, "action": {"type": "invoke", "field": "fib-i64", "args": [{"type": "i64", "value": "2"}]}, "expected": [{"type": "i64", "value": "2"}]}, 70 {"type": "assert_return", "line": 526, "action": {"type": "invoke", "field": "fib-i64", "args": [{"type": "i64", "value": "5"}]}, "expected": [{"type": "i64", "value": "8"}]}, 71 {"type": "assert_return", "line": 527, "action": {"type": "invoke", "field": "fib-i64", "args": [{"type": "i64", "value": "20"}]}, "expected": [{"type": "i64", "value": "10946"}]}, 72 {"type": "assert_return", "line": 529, "action": {"type": "invoke", "field": "fib-i32", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "1"}]}, 73 {"type": "assert_return", "line": 530, "action": {"type": "invoke", "field": "fib-i32", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "1"}]}, 74 {"type": "assert_return", "line": 531, "action": {"type": "invoke", "field": "fib-i32", "args": [{"type": "i32", "value": "2"}]}, "expected": [{"type": "i32", "value": "2"}]}, 75 {"type": "assert_return", "line": 532, "action": {"type": "invoke", "field": "fib-i32", "args": [{"type": "i32", "value": "5"}]}, "expected": [{"type": "i32", "value": "8"}]}, 76 {"type": "assert_return", "line": 533, "action": {"type": "invoke", "field": "fib-i32", "args": [{"type": "i32", "value": "20"}]}, "expected": [{"type": "i32", "value": "10946"}]}, 77 {"type": "assert_return", "line": 535, "action": {"type": "invoke", "field": "fib-f32", "args": [{"type": "f32", "value": "0"}]}, "expected": [{"type": "f32", "value": "1065353216"}]}, 78 {"type": "assert_return", "line": 536, "action": {"type": "invoke", "field": "fib-f32", "args": [{"type": "f32", "value": "1065353216"}]}, "expected": [{"type": "f32", "value": "1065353216"}]}, 79 {"type": "assert_return", "line": 537, "action": {"type": "invoke", "field": "fib-f32", "args": [{"type": "f32", "value": "1073741824"}]}, "expected": [{"type": "f32", "value": "1073741824"}]}, 80 {"type": "assert_return", "line": 538, "action": {"type": "invoke", "field": "fib-f32", "args": [{"type": "f32", "value": "1084227584"}]}, "expected": [{"type": "f32", "value": "1090519040"}]}, 81 {"type": "assert_return", "line": 539, "action": {"type": "invoke", "field": "fib-f32", "args": [{"type": "f32", "value": "1101004800"}]}, "expected": [{"type": "f32", "value": "1177225216"}]}, 82 {"type": "assert_return", "line": 541, "action": {"type": "invoke", "field": "fib-f64", "args": [{"type": "f64", "value": "0"}]}, "expected": [{"type": "f64", "value": "4607182418800017408"}]}, 83 {"type": "assert_return", "line": 542, "action": {"type": "invoke", "field": "fib-f64", "args": [{"type": "f64", "value": "4607182418800017408"}]}, "expected": [{"type": "f64", "value": "4607182418800017408"}]}, 84 {"type": "assert_return", "line": 543, "action": {"type": "invoke", "field": "fib-f64", "args": [{"type": "f64", "value": "4611686018427387904"}]}, "expected": [{"type": "f64", "value": "4611686018427387904"}]}, 85 {"type": "assert_return", "line": 544, "action": {"type": "invoke", "field": "fib-f64", "args": [{"type": "f64", "value": "4617315517961601024"}]}, "expected": [{"type": "f64", "value": "4620693217682128896"}]}, 86 {"type": "assert_return", "line": 545, "action": {"type": "invoke", "field": "fib-f64", "args": [{"type": "f64", "value": "4626322717216342016"}]}, "expected": [{"type": "f64", "value": "4667243241467281408"}]}, 87 {"type": "assert_return", "line": 547, "action": {"type": "invoke", "field": "even", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "44"}]}, 88 {"type": "assert_return", "line": 548, "action": {"type": "invoke", "field": "even", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "99"}]}, 89 {"type": "assert_return", "line": 549, "action": {"type": "invoke", "field": "even", "args": [{"type": "i32", "value": "100"}]}, "expected": [{"type": "i32", "value": "44"}]}, 90 {"type": "assert_return", "line": 550, "action": {"type": "invoke", "field": "even", "args": [{"type": "i32", "value": "77"}]}, "expected": [{"type": "i32", "value": "99"}]}, 91 {"type": "assert_return", "line": 551, "action": {"type": "invoke", "field": "odd", "args": [{"type": "i32", "value": "0"}]}, "expected": [{"type": "i32", "value": "99"}]}, 92 {"type": "assert_return", "line": 552, "action": {"type": "invoke", "field": "odd", "args": [{"type": "i32", "value": "1"}]}, "expected": [{"type": "i32", "value": "44"}]}, 93 {"type": "assert_return", "line": 553, "action": {"type": "invoke", "field": "odd", "args": [{"type": "i32", "value": "200"}]}, "expected": [{"type": "i32", "value": "99"}]}, 94 {"type": "assert_return", "line": 554, "action": {"type": "invoke", "field": "odd", "args": [{"type": "i32", "value": "77"}]}, "expected": [{"type": "i32", "value": "44"}]}, 95 {"type": "assert_exhaustion", "line": 556, "action": {"type": "invoke", "field": "runaway", "args": []}, "text": "call stack exhausted", "expected": []}, 96 {"type": "assert_exhaustion", "line": 557, "action": {"type": "invoke", "field": "mutual-runaway", "args": []}, "text": "call stack exhausted", "expected": []}, 97 {"type": "assert_return", "line": 559, "action": {"type": "invoke", "field": "as-select-first", "args": []}, "expected": [{"type": "i32", "value": "306"}]}, 98 {"type": "assert_return", "line": 560, "action": {"type": "invoke", "field": "as-select-mid", "args": []}, "expected": [{"type": "i32", "value": "2"}]}, 99 {"type": "assert_return", "line": 561, "action": {"type": "invoke", "field": "as-select-last", "args": []}, "expected": [{"type": "i32", "value": "2"}]}, 100 {"type": "assert_return", "line": 563, "action": {"type": "invoke", "field": "as-if-condition", "args": []}, "expected": [{"type": "i32", "value": "1"}]}, 101 {"type": "assert_return", "line": 565, "action": {"type": "invoke", "field": "as-br_if-first", "args": []}, "expected": [{"type": "i64", "value": "356"}]}, 102 {"type": "assert_return", "line": 566, "action": {"type": "invoke", "field": "as-br_if-last", "args": []}, "expected": [{"type": "i32", "value": "2"}]}, 103 {"type": "assert_return", "line": 568, "action": {"type": "invoke", "field": "as-br_table-first", "args": []}, "expected": [{"type": "f32", "value": "1165172736"}]}, 104 {"type": "assert_return", "line": 569, "action": {"type": "invoke", "field": "as-br_table-last", "args": []}, "expected": [{"type": "i32", "value": "2"}]}, 105 {"type": "assert_return", "line": 571, "action": {"type": "invoke", "field": "as-store-first", "args": []}, "expected": []}, 106 {"type": "assert_return", "line": 572, "action": {"type": "invoke", "field": "as-store-last", "args": []}, "expected": []}, 107 {"type": "assert_return", "line": 574, "action": {"type": "invoke", "field": "as-memory.grow-value", "args": []}, "expected": [{"type": "i32", "value": "1"}]}, 108 {"type": "assert_return", "line": 575, "action": {"type": "invoke", "field": "as-return-value", "args": []}, "expected": [{"type": "i32", "value": "1"}]}, 109 {"type": "assert_return", "line": 576, "action": {"type": "invoke", "field": "as-drop-operand", "args": []}, "expected": []}, 110 {"type": "assert_return", "line": 577, "action": {"type": "invoke", "field": "as-br-value", "args": []}, "expected": [{"type": "f32", "value": "1065353216"}]}, 111 {"type": "assert_return", "line": 578, "action": {"type": "invoke", "field": "as-local.set-value", "args": []}, "expected": [{"type": "f64", "value": "4607182418800017408"}]}, 112 {"type": "assert_return", "line": 579, "action": {"type": "invoke", "field": "as-local.tee-value", "args": []}, "expected": [{"type": "f64", "value": "4607182418800017408"}]}, 113 {"type": "assert_return", "line": 580, "action": {"type": "invoke", "field": "as-global.set-value", "args": []}, "expected": [{"type": "f64", "value": "4607182418800017408"}]}, 114 {"type": "assert_return", "line": 581, "action": {"type": "invoke", "field": "as-load-operand", "args": []}, "expected": [{"type": "i32", "value": "1"}]}, 115 {"type": "assert_return", "line": 583, "action": {"type": "invoke", "field": "as-unary-operand", "args": []}, "expected": [{"type": "f32", "value": "0"}]}, 116 {"type": "assert_return", "line": 584, "action": {"type": "invoke", "field": "as-binary-left", "args": []}, "expected": [{"type": "i32", "value": "11"}]}, 117 {"type": "assert_return", "line": 585, "action": {"type": "invoke", "field": "as-binary-right", "args": []}, "expected": [{"type": "i32", "value": "9"}]}, 118 {"type": "assert_return", "line": 586, "action": {"type": "invoke", "field": "as-test-operand", "args": []}, "expected": [{"type": "i32", "value": "0"}]}, 119 {"type": "assert_return", "line": 587, "action": {"type": "invoke", "field": "as-compare-left", "args": []}, "expected": [{"type": "i32", "value": "1"}]}, 120 {"type": "assert_return", "line": 588, "action": {"type": "invoke", "field": "as-compare-right", "args": []}, "expected": [{"type": "i32", "value": "1"}]}, 121 {"type": "assert_return", "line": 589, "action": {"type": "invoke", "field": "as-convert-operand", "args": []}, "expected": [{"type": "i64", "value": "1"}]}, 122 {"type": "assert_malformed", "line": 594, "filename": "call_indirect.1.wat", "text": "unexpected token", "module_type": "text"}, 123 {"type": "assert_malformed", "line": 606, "filename": "call_indirect.2.wat", "text": "unexpected token", "module_type": "text"}, 124 {"type": "assert_malformed", "line": 618, "filename": "call_indirect.3.wat", "text": "unexpected token", "module_type": "text"}, 125 {"type": "assert_malformed", "line": 630, "filename": "call_indirect.4.wat", "text": "unexpected token", "module_type": "text"}, 126 {"type": "assert_malformed", "line": 642, "filename": "call_indirect.5.wat", "text": "unexpected token", "module_type": "text"}, 127 {"type": "assert_malformed", "line": 654, "filename": "call_indirect.6.wat", "text": "unexpected token", "module_type": "text"}, 128 {"type": "assert_malformed", "line": 664, "filename": "call_indirect.7.wat", "text": "unexpected token", "module_type": "text"}, 129 {"type": "assert_malformed", "line": 671, "filename": "call_indirect.8.wat", "text": "inline function type", "module_type": "text"}, 130 {"type": "assert_malformed", "line": 681, "filename": "call_indirect.9.wat", "text": "inline function type", "module_type": "text"}, 131 {"type": "assert_malformed", "line": 691, "filename": "call_indirect.10.wat", "text": "inline function type", "module_type": "text"}, 132 {"type": "assert_malformed", "line": 701, "filename": "call_indirect.11.wat", "text": "inline function type", "module_type": "text"}, 133 {"type": "assert_invalid", "line": 716, "filename": "call_indirect.12.wasm", "text": "unknown table", "module_type": "binary"}, 134 {"type": "assert_invalid", "line": 724, "filename": "call_indirect.13.wasm", "text": "type mismatch", "module_type": "binary"}, 135 {"type": "assert_invalid", "line": 732, "filename": "call_indirect.14.wasm", "text": "type mismatch", "module_type": "binary"}, 136 {"type": "assert_invalid", "line": 741, "filename": "call_indirect.15.wasm", "text": "type mismatch", "module_type": "binary"}, 137 {"type": "assert_invalid", "line": 749, "filename": "call_indirect.16.wasm", "text": "type mismatch", "module_type": "binary"}, 138 {"type": "assert_invalid", "line": 757, "filename": "call_indirect.17.wasm", "text": "type mismatch", "module_type": "binary"}, 139 {"type": "assert_invalid", "line": 765, "filename": "call_indirect.18.wasm", "text": "type mismatch", "module_type": "binary"}, 140 {"type": "assert_invalid", "line": 776, "filename": "call_indirect.19.wasm", "text": "type mismatch", "module_type": "binary"}, 141 {"type": "assert_invalid", "line": 784, "filename": "call_indirect.20.wasm", "text": "type mismatch", "module_type": "binary"}, 142 {"type": "assert_invalid", "line": 793, "filename": "call_indirect.21.wasm", "text": "type mismatch", "module_type": "binary"}, 143 {"type": "assert_invalid", "line": 803, "filename": "call_indirect.22.wasm", "text": "type mismatch", "module_type": "binary"}, 144 {"type": "assert_invalid", "line": 813, "filename": "call_indirect.23.wasm", "text": "type mismatch", "module_type": "binary"}, 145 {"type": "assert_invalid", "line": 823, "filename": "call_indirect.24.wasm", "text": "type mismatch", "module_type": "binary"}, 146 {"type": "assert_invalid", "line": 834, "filename": "call_indirect.25.wasm", "text": "type mismatch", "module_type": "binary"}, 147 {"type": "assert_invalid", "line": 847, "filename": "call_indirect.26.wasm", "text": "type mismatch", "module_type": "binary"}, 148 {"type": "assert_invalid", "line": 860, "filename": "call_indirect.27.wasm", "text": "type mismatch", "module_type": "binary"}, 149 {"type": "assert_invalid", "line": 873, "filename": "call_indirect.28.wasm", "text": "type mismatch", "module_type": "binary"}, 150 {"type": "assert_invalid", "line": 886, "filename": "call_indirect.29.wasm", "text": "type mismatch", "module_type": "binary"}, 151 {"type": "assert_invalid", "line": 902, "filename": "call_indirect.30.wasm", "text": "type mismatch", "module_type": "binary"}, 152 {"type": "assert_invalid", "line": 922, "filename": "call_indirect.31.wasm", "text": "unknown type", "module_type": "binary"}, 153 {"type": "assert_invalid", "line": 929, "filename": "call_indirect.32.wasm", "text": "unknown type", "module_type": "binary"}, 154 {"type": "assert_invalid", "line": 940, "filename": "call_indirect.33.wasm", "text": "unknown function 0", "module_type": "binary"}]}