Add missing increment if parlist starts with varargs
This commit is contained in:
parent
ae4a3e9993
commit
2b75b7d79f
@ -1359,6 +1359,7 @@ class Parser
|
||||
CodeRegion startRegion = tokens[index].region;
|
||||
if(tokens[index].type == TokenType.DotDotDot)
|
||||
{
|
||||
index += 1;
|
||||
return new ParlistNode(names: [], hasVarargs: true, startRegion: startRegion, endRegion: startRegion);
|
||||
}
|
||||
if(tokens[index].type != TokenType.Name)
|
||||
|
Loading…
x
Reference in New Issue
Block a user