aboutsummaryrefslogtreecommitdiff
path: root/bootstrap/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap/parse.c')
-rw-r--r--bootstrap/parse.c1
1 files changed, 1 insertions, 0 deletions
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);