]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 8.2.2253: Vim9: expr test fails v8.2.2253
authorBram Moolenaar <Bram@vim.org>
Thu, 31 Dec 2020 12:39:54 +0000 (13:39 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 31 Dec 2020 12:39:54 +0000 (13:39 +0100)
Problem:    Vim9: expr test fails.
Solution:   Add missing assignment.

src/userfunc.c
src/version.c

index 9393b62cc1210aba0740b33bf1864d0daa32ca11..a70870baae6cc6f90fc8c438e1eb806075252fc1 100644 (file)
@@ -664,6 +664,8 @@ get_lambda_tv(
                if (fp->uf_ret_type == NULL)
                    goto errret;
            }
+           else
+               fp->uf_ret_type = &t_unknown;
        }
 
        fp->uf_lines = newlines;
index d1bb9cc8fc2db230206d0828fb7053284c6985e9..a8e1a892965bbd004be23b590fce3f19e539f3f3 100644 (file)
@@ -750,6 +750,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2253,
 /**/
     2252,
 /**/