diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-12-31 13:39:54 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-12-31 13:39:54 +0100 |
commit | ca2f7e7af32d51c2be378a5298bc85958c877653 (patch) | |
tree | 2eb2425180021e1c37c4275f5486ddf252791674 | |
parent | 6b55377303968e1624339cd95053201d5acdcaa2 (diff) | |
download | vim-git-ca2f7e7af32d51c2be378a5298bc85958c877653.tar.gz |
patch 8.2.2253: Vim9: expr test failsv8.2.2253
Problem: Vim9: expr test fails.
Solution: Add missing assignment.
-rw-r--r-- | src/userfunc.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/userfunc.c b/src/userfunc.c index 9393b62cc..a70870baa 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 d1bb9cc8f..a8e1a8929 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, |