commit | ca2f7e7af32d51c2be378a5298bc85958c877653 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Dec 31 13:39:54 2020 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Dec 31 13:39:54 2020 +0100 |
tree | 2eb2425180021e1c37c4275f5486ddf252791674 | |
parent | 6b55377303968e1624339cd95053201d5acdcaa2 [diff] [blame] |
patch 8.2.2253: Vim9: expr test fails Problem: Vim9: expr test fails. Solution: Add missing assignment.
diff --git a/src/userfunc.c b/src/userfunc.c index 9393b62..a70870b 100644 --- a/src/userfunc.c +++ b/src/userfunc.c
@@ -664,6 +664,8 @@ if (fp->uf_ret_type == NULL) goto errret; } + else + fp->uf_ret_type = &t_unknown; } fp->uf_lines = newlines;