From 86aa2d6ab3a003652159fa37828c27744a2cb45d Mon Sep 17 00:00:00 2001 From: lemon Date: Thu, 11 Aug 2022 07:48:24 +0200 Subject: mcall ty --- bootstrap/parse.c | 1 + 1 file changed, 1 insertion(+) (limited to 'bootstrap/parse.c') diff --git a/bootstrap/parse.c b/bootstrap/parse.c index daf632d..18aa13b 100644 --- a/bootstrap/parse.c +++ b/bootstrap/parse.c @@ -1233,6 +1233,7 @@ pexpostfix(struct parser *P) { if (met) { ex.t = Emcall; ex.mcall.met = met; + ex.ty = ty->fn.retty; vec_slice_cpy(&ex.mcall.args, &args); } else { ex.call.callee = exprdup(ex); -- cgit v1.2.3