Patch 8.2.0471
Problem: Missing change to compile_list().
Solution: Add error message.
Files: src/vim9compile.c
*** ../vim-8.2.0470/src/vim9compile.c 2020-03-28 19:41:29.595765241 +0100
--- src/vim9compile.c 2020-03-28 21:20:42.843743402 +0100
***************
*** 2173,2179 ****
--- 2173,2182 ----
while (*p != ']')
{
if (*p == NUL)
+ {
+ semsg(_(e_list_end), *arg);
return FAIL;
+ }
if (compile_expr1(&p, cctx) == FAIL)
break;
++count;
***************
*** 2199,2205 ****
ufunc_T *ufunc;
// Get the funcref in "rettv".
! if (get_lambda_tv(arg, &rettv, TRUE) == FAIL)
return FAIL;
ufunc = rettv.vval.v_partial->pt_func;
--- 2202,2208 ----
ufunc_T *ufunc;
// Get the funcref in "rettv".
! if (get_lambda_tv(arg, &rettv, TRUE) != OK)
return FAIL;
ufunc = rettv.vval.v_partial->pt_func;
*** ../vim-8.2.0470/src/version.c 2020-03-28 21:48:51.238858476 +0100
--- src/version.c 2020-03-28 22:05:32.151613802 +0100
***************
*** 740,741 ****
--- 740,743 ----
{ /* Add new patch number below this line */
+ /**/
+ 471,
/**/
--
There are three kinds of people: Those who can count & those who can't.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/202003282106.02SL6snq024166%40masaka.moolenaar.net.