Skip to content

Commit 7a3330f

Browse files
committed
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.
1 parent 5163fcc commit 7a3330f

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -754,6 +754,8 @@ static char *(features[]) =
754754

755755
static int included_patches[] =
756756
{ /* Add new patch number below this line */
757+
/**/
758+
1531,
757759
/**/
758760
1530,
759761
/**/

src/vim9compile.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4271,7 +4271,7 @@ compile_nested_function(exarg_T *eap, cctx_T *cctx)
42714271
ufunc = def_function(eap, lambda_name);
42724272

42734273
if (ufunc == NULL)
4274-
return NULL;
4274+
return eap->skip ? (char_u *)"" : NULL;
42754275
if (ufunc->uf_def_status == UF_TO_BE_COMPILED
42764276
&& compile_def_function(ufunc, TRUE, cctx) == FAIL)
42774277
return NULL;

0 commit comments

Comments
 (0)