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

eval: fix test

This commit is contained in:
Alexander Medvednikov 2020-03-07 00:42:52 +01:00
parent f699dcac94
commit 9846fecd84

View File

@ -88,7 +88,7 @@ fn (e mut Eval) expr(node ast.Expr) Object {
return v.value
}
ast.InfixExpr {
e.checker.infix_expr(it)
e.checker.infix_expr(mut it)
// println('bin $it.op')
left := e.expr(it.left) as int
right := e.expr(it.right) as int