mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
vfmt: fn args fixes
This commit is contained in:
parent
569b32bd1e
commit
67bdc2c7a9
@ -61,6 +61,7 @@ fn (p mut Parser) for_st() {
|
||||
*/
|
||||
i := p.check_name()
|
||||
p.check(.comma)
|
||||
p.fspace()
|
||||
val := p.check_name()
|
||||
if i == '_' && val == '_' {
|
||||
p.error('no new variables on the left side of `in`')
|
||||
|
@ -27,6 +27,7 @@ fn (p mut Parser) get_type2() Type{
|
||||
break
|
||||
}
|
||||
p.check(.comma)
|
||||
p.fspace()
|
||||
}
|
||||
p.check(.rpar)
|
||||
// p.inside_tuple = false
|
||||
|
Loading…
x
Reference in New Issue
Block a user