1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

v2: remove expr type from fn.v

This commit is contained in:
Joe Conigliaro 2020-03-05 22:13:45 +11:00
parent 4d55a4c097
commit ee6a8a41f5

View File

@ -45,7 +45,7 @@ pub fn (p mut Parser) call_args() ([]ast.Expr,[]bool) {
else {
muts << false
}
e,_ := p.expr(0)
e := p.expr(0)
args << e
if p.tok.kind != .rpar {
p.check(.comma)