changeset 23420:42294d4d4f6e v8.2.2253

patch 8.2.2253: Vim9: expr test fails Commit: https://github.com/vim/vim/commit/ca2f7e7af32d51c2be378a5298bc85958c877653 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Dec 31 13:39:54 2020 +0100 patch 8.2.2253: Vim9: expr test fails Problem: Vim9: expr test fails. Solution: Add missing assignment.
author Bram Moolenaar <Bram@vim.org>
date Thu, 31 Dec 2020 13:45:05 +0100
parents 63661c0e6694
children 4ac86caf4c42
files src/userfunc.c src/version.c
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/userfunc.c
+++ b/src/userfunc.c
@@ -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;
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    2253,
+/**/
     2252,
 /**/
     2251,