diff --git a/src/version.c b/src/version.c index 68c194b51c..cb331fa12c 100644 --- a/src/version.c +++ b/src/version.c @@ -750,6 +750,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 4023, /**/ 4022, /**/ diff --git a/src/vim9script.c b/src/vim9script.c index 815ded1eab..81f396759c 100644 --- a/src/vim9script.c +++ b/src/vim9script.c @@ -565,6 +565,7 @@ find_exported( if (idx >= 0) { sv = ((svar_T *)script->sn_var_vals.ga_data) + idx; + *ufunc = NULL; if (!sv->sv_export) { if (verbose) @@ -572,7 +573,6 @@ find_exported( return -1; } *type = sv->sv_type; - *ufunc = NULL; } else {