diff --git a/src/version.c b/src/version.c index 231640caa..55602669f 100644 --- a/src/version.c +++ b/src/version.c @@ -742,6 +742,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 169, /**/ 168, /**/ diff --git a/src/vim9execute.c b/src/vim9execute.c index 480f1ec56..6e003d938 100644 --- a/src/vim9execute.c +++ b/src/vim9execute.c @@ -851,6 +851,11 @@ call_def_function( // return from a :def function call case ISN_RETURN: { + garray_T *trystack = &ectx.ec_trystack; + + if (trystack->ga_len > 0) + trycmd = ((trycmd_T *)trystack->ga_data) + + trystack->ga_len - 1; if (trycmd != NULL && trycmd->tcd_frame == ectx.ec_frame && trycmd->tcd_finally_idx != 0) {