vfmt: fn args fixes
parent
569b32bd1e
commit
67bdc2c7a9
|
@ -61,6 +61,7 @@ fn (p mut Parser) for_st() {
|
||||||
*/
|
*/
|
||||||
i := p.check_name()
|
i := p.check_name()
|
||||||
p.check(.comma)
|
p.check(.comma)
|
||||||
|
p.fspace()
|
||||||
val := p.check_name()
|
val := p.check_name()
|
||||||
if i == '_' && val == '_' {
|
if i == '_' && val == '_' {
|
||||||
p.error('no new variables on the left side of `in`')
|
p.error('no new variables on the left side of `in`')
|
||||||
|
|
|
@ -27,6 +27,7 @@ fn (p mut Parser) get_type2() Type{
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
p.check(.comma)
|
p.check(.comma)
|
||||||
|
p.fspace()
|
||||||
}
|
}
|
||||||
p.check(.rpar)
|
p.check(.rpar)
|
||||||
// p.inside_tuple = false
|
// p.inside_tuple = false
|
||||||
|
|
Loading…
Reference in New Issue