vfmt: fn args fixes

pull/3132/head
Alexander Medvednikov 2019-12-18 10:17:07 +03:00
parent 569b32bd1e
commit 67bdc2c7a9
4 changed files with 26 additions and 24 deletions

View File

@ -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`')

View File

@ -27,6 +27,7 @@ fn (p mut Parser) get_type2() Type{
break
}
p.check(.comma)
p.fspace()
}
p.check(.rpar)
// p.inside_tuple = false