From: Bram Moolenaar Date: Thu, 27 Aug 2020 21:57:57 +0000 (+0200) Subject: patch 8.2.1531: Vim9: test still fails on MS-Windows X-Git-Tag: v8.2.1531 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7a3330fc578033f06a94c23de61a23edcc59f95e;p=vim patch 8.2.1531: Vim9: test still fails on MS-Windows Problem: Vim9: test still fails on MS-Windows. Solution: When skipping expect function to be NULL. --- diff --git a/src/version.c b/src/version.c index 76241f0ec..35bb3c397 100644 --- a/src/version.c +++ b/src/version.c @@ -754,6 +754,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1531, /**/ 1530, /**/ diff --git a/src/vim9compile.c b/src/vim9compile.c index c9805f65a..5e4bfdb76 100644 --- a/src/vim9compile.c +++ b/src/vim9compile.c @@ -4271,7 +4271,7 @@ compile_nested_function(exarg_T *eap, cctx_T *cctx) ufunc = def_function(eap, lambda_name); if (ufunc == NULL) - return NULL; + return eap->skip ? (char_u *)"" : NULL; if (ufunc->uf_def_status == UF_TO_BE_COMPILED && compile_def_function(ufunc, TRUE, cctx) == FAIL) return NULL;