diff --git a/src/codegen.cpp b/src/codegen.cpp index 45e2e4122f5e5394dc2c2e4f984367ab5d8e4805..982cb821b294b1f5bc41c6870db99592076aca93 100644 --- a/src/codegen.cpp +++ b/src/codegen.cpp @@ -3849,6 +3849,8 @@ static LLVMValueRef ir_render_call(CodeGen *g, IrExecutable *executable, IrInstr // Use the result location provided to the @asyncCall builtin ret_ptr = result_loc; } + } else { + zig_unreachable(); } // even if prefix_arg_err_ret_stack is true, let the async function do its own