diff options
-rw-r--r-- | src/version.c | 2 | ||||
-rw-r--r-- | src/vim9instr.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/version.c b/src/version.c index 85fbc40c5..2324ff213 100644 --- a/src/version.c +++ b/src/version.c @@ -696,6 +696,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1260, +/**/ 1259, /**/ 1258, diff --git a/src/vim9instr.c b/src/vim9instr.c index cc0d8ad8b..ce7342b7b 100644 --- a/src/vim9instr.c +++ b/src/vim9instr.c @@ -1794,7 +1794,7 @@ generate_CALL( : ufunc->uf_def_status != UF_NOT_COMPILED ? ISN_DCALL : ISN_UCALL)) == NULL) return FAIL; - if (isn->isn_type == ISN_METHODCALL) + if (cl != NULL /* isn->isn_type == ISN_METHODCALL */) { isn->isn_arg.mfunc = ALLOC_ONE(cmfunc_T); if (isn->isn_arg.mfunc == NULL) |