1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

parser: fix generated name for unnamed fn args

This commit is contained in:
Joe Conigliaro 2020-03-14 20:24:45 +11:00
parent e8c9f609a4
commit 6752fed9f2

View File

@ -217,8 +217,8 @@ fn (p mut Parser) fn_args() ([]ast.Arg,bool) {
is_mut: is_mut
typ: arg_type
}
arg_no++
}
arg_no++
}
else {
for p.tok.kind != .rpar {