eval: fix test

pull/3947/head
Alexander Medvednikov 2020-03-07 00:42:52 +01:00
parent f699dcac94
commit 9846fecd84
1 changed files with 1 additions and 1 deletions

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