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:
@ -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`')
|
||||
|
Reference in New Issue
Block a user