Problem: Vim9: varargs argument type not parsed properly.
Solution: Skip over the "...". (issue #6507)
assert_equal(123, g:echo)
END
CheckScriptSuccess(lines)
+
+ lines =<< trim END
+ vim9script
+ def EchoList(...l: list<number>)
+ g:echo = l
+ enddef
+ let Funcref: func(...list<number>) = function('EchoList')
+ Funcref()
+ assert_equal([], g:echo)
+ Funcref(1, 2, 3)
+ assert_equal([1, 2, 3], g:echo)
+ END
+ CheckScriptSuccess(lines)
enddef
let SomeFunc = function('len')
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1301,
/**/
1300,
/**/
{
char_u *sp = p;
+ if (STRNCMP(p, "...", 3) == 0)
+ p += 3;
p = skip_type(p, TRUE);
if (p == sp)
return p; // syntax error