diff --git a/vlib/v/parser/fn.v b/vlib/v/parser/fn.v index 23ebf97786..6ae198ef4e 100644 --- a/vlib/v/parser/fn.v +++ b/vlib/v/parser/fn.v @@ -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 {