mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.4226: filter-map test fails
Problem: Filter-map test fails. Solution: Only reject number argument in Vim9 script.
This commit is contained in:
@@ -291,7 +291,7 @@ eval_expr_typval(typval_T *expr, typval_T *argv, int argc, typval_T *rettv)
|
||||
}
|
||||
else
|
||||
{
|
||||
s = tv_get_string_buf_chk_strict(expr, buf, TRUE);
|
||||
s = tv_get_string_buf_chk_strict(expr, buf, in_vim9script());
|
||||
if (s == NULL)
|
||||
return FAIL;
|
||||
s = skipwhite(s);
|
||||
|
@@ -750,6 +750,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
4226,
|
||||
/**/
|
||||
4225,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user