We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b161a3 commit d30f8c6Copy full SHA for d30f8c6
1 file changed
lib/fizzy/execute.cpp
@@ -489,6 +489,7 @@ inline bool invoke_function(const FuncType& func_type, uint32_t func_idx, Instan
489
stack.drop(num_args);
490
491
// Push back the result
492
+ assert(func_type.outputs.size() == (ret.has_value ? 1 : 0));
493
if (ret.has_value)
494
stack.push(ret.value);
495
0 commit comments