parser: fix generated name for unnamed fn args
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