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:
parent
e8c9f609a4
commit
6752fed9f2
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user