From 7a3330fc578033f06a94c23de61a23edcc59f95e Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 27 Aug 2020 23:57:57 +0200 Subject: [PATCH] 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. --- src/version.c | 2 ++ src/vim9compile.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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; -- 2.50.1