summaryrefslogtreecommitdiffstats
path: root/src/vim9instr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vim9instr.c')
-rw-r--r--src/vim9instr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vim9instr.c b/src/vim9instr.c
index 72ecbaa65e..118e885837 100644
--- a/src/vim9instr.c
+++ b/src/vim9instr.c
@@ -1619,7 +1619,8 @@ generate_BCALL(cctx_T *cctx, int func_idx, int argcount, int method_call)
// Drop the argument types and push the return type.
stack->ga_len -= argcount;
- type = internal_func_ret_type(func_idx, argcount, argtypes, &decl_type);
+ type = internal_func_ret_type(func_idx, argcount, argtypes, &decl_type,
+ cctx->ctx_type_list);
if (push_type_stack2(cctx, type, decl_type) == FAIL)
return FAIL;