# HG changeset patch # User Bram Moolenaar # Date 1598565604 -7200 # Node ID bf956766afa89968d352d6b3c6e887d33cdb21cc # Parent 351dd8317edc1f9c28c145077f74aaa52928316a patch 8.2.1531: Vim9: test still fails on MS-Windows Commit: https://github.com/vim/vim/commit/7a3330fc578033f06a94c23de61a23edcc59f95e Author: Bram Moolenaar Date: Thu Aug 27 23:57:57 2020 +0200 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 --- a/src/version.c +++ b/src/version.c @@ -755,6 +755,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1531, +/**/ 1530, /**/ 1529, diff --git a/src/vim9compile.c b/src/vim9compile.c --- a/src/vim9compile.c +++ b/src/vim9compile.c @@ -4271,7 +4271,7 @@ compile_nested_function(exarg_T *eap, cc 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;