summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-12-31 13:39:54 +0100
committerBram Moolenaar <Bram@vim.org>2020-12-31 13:39:54 +0100
commitca2f7e7af32d51c2be378a5298bc85958c877653 (patch)
tree2eb2425180021e1c37c4275f5486ddf252791674
parent6b55377303968e1624339cd95053201d5acdcaa2 (diff)
patch 8.2.2253: Vim9: expr test failsv8.2.2253
Problem: Vim9: expr test fails. Solution: Add missing assignment.
-rw-r--r--src/userfunc.c2
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/userfunc.c b/src/userfunc.c
index 9393b62cc1..a70870baae 100644
--- 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;
diff --git a/src/version.c b/src/version.c
index d1bb9cc8fc..a8e1a89296 100644
--- 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,