]> granicus.if.org Git - vim/commitdiff
patch 8.2.1531: Vim9: test still fails on MS-Windows v8.2.1531
authorBram Moolenaar <Bram@vim.org>
Thu, 27 Aug 2020 21:57:57 +0000 (23:57 +0200)
committerBram Moolenaar <Bram@vim.org>
Thu, 27 Aug 2020 21:57:57 +0000 (23:57 +0200)
Problem:    Vim9: test still fails on MS-Windows.
Solution:   When skipping expect function to be NULL.

src/version.c
src/vim9compile.c

index 76241f0ec6f04280561342f3402ac6c048cc3271..35bb3c397262b33a9db5ab3a6859f9595296a61a 100644 (file)
@@ -754,6 +754,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1531,
 /**/
     1530,
 /**/
index c9805f65a1f7f2d8c1a539d6ec8bd1075cc72c24..5e4bfdb76c9e7f205d5644601669069e83a74e50 100644 (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;