fixup! vim-patch:8.1.1310: named function arguments are never optional

This commit is contained in:
Jan Edmund Lazo 2021-02-22 09:27:49 -05:00
parent 66b0ab0883
commit 77bae79c07
No known key found for this signature in database
GPG Key ID: 64915E6E9F735B15

View File

@ -898,7 +898,7 @@ void call_user_func(ufunc_T *fp, int argcount, typval_T *argvars,
}
// Init a: variables, unless none found (in lambda).
// Set a:0 to "argcount".
// Set a:0 to "argcount" less number of named arguments, if >= 0.
// Set a:000 to a list with room for the "..." arguments.
init_var_dict(&fc->l_avars, &fc->l_avars_var, VAR_SCOPE);
if ((fp->uf_flags & FC_NOARGS) == 0) {