harec

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 16153ce9f0f9e4975534470dc55ccf641118f7d8
parent 54a2622a7aa6c71d01313f79d0e5d3e9ed6f5091
Author: Drew DeVault <sir@cmpwn.com>
Date:   Thu, 18 Mar 2021 13:19:04 -0400

gen: fix extypes on function returns

Diffstat:
Msrc/gen.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gen.c b/src/gen.c @@ -1051,7 +1051,7 @@ gen_expr_call(struct gen_context *ctx, assert(ftype->storage == STORAGE_FUNCTION); if (ftype->func.result != &builtin_type_void) { gen_temp(ctx, &result, qtype_for_type(ctx, - ftype->func.result, true), "returns.%d"); + ftype->func.result, false), "returns.%d"); call.out = qval_dup(&result); } if (ftype->func.flags & FN_NORETURN) {