patch 8.2.2481: Vim9: confusing error when variable arguments have default

Problem:    Vim9: confusing error when variable arguments have a default
            value.
Solution:   Give a specific error message. (closes #7793)
This commit is contained in:
Bram Moolenaar
2021-02-07 15:59:49 +01:00
parent c3fc75db02
commit 4f53b79bf5
3 changed files with 17 additions and 0 deletions

View File

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