1
0
forked from aniani/vim

patch 8.2.3895: Vim9: confusing error when using function() with a number

Problem:    Vim9: confusing error when using function() with a number.
Solution:   Check for a function or string argument.
This commit is contained in:
Bram Moolenaar
2021-12-25 19:43:44 +00:00
parent 223d0a6bc8
commit ae1068afde
3 changed files with 6 additions and 1 deletions

View File

@@ -749,6 +749,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
3895,
/**/
3894,
/**/