0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

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.
This commit is contained in:
Bram Moolenaar
2020-08-27 23:57:57 +02:00
parent 5163fcce79
commit 7a3330fc57
2 changed files with 3 additions and 1 deletions

View File

@@ -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;