vfmt: fn args fixes
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…
Reference in New Issue