Mercurial > vim
changeset 21963:bf956766afa8 v8.2.1531
patch 8.2.1531: Vim9: test still fails on MS-Windows
Commit: https://github.com/vim/vim/commit/7a3330fc578033f06a94c23de61a23edcc59f95e
Author: Bram Moolenaar <Bram@vim.org>
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 28 Aug 2020 00:00:04 +0200 |
parents | 351dd8317edc |
children | 9e5c373197f4 |
files | src/version.c src/vim9compile.c |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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,
--- 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;