mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -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);
|
||||
|
Reference in New Issue
Block a user