0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

patch 9.0.0405: arguments in a partial not used by a :def function

Problem:    Arguments in a partial not used by a :def function.
Solution:   Put the partial arguments on the stack.
This commit is contained in:
Bram Moolenaar
2022-09-07 16:48:46 +01:00
parent 1540d334a0
commit c9c967da09
7 changed files with 44 additions and 15 deletions

View File

@@ -2653,7 +2653,7 @@ call_user_func(
profile_may_start_func(&profile_info, fp, caller);
#endif
sticky_cmdmod_flags = 0;
call_def_function(fp, argcount, argvars, funcexe->fe_partial,
call_def_function(fp, argcount, argvars, 0, funcexe->fe_partial,
fc, rettv);
funcdepth_decrement();
#ifdef FEAT_PROFILE