From 9846fecd840485b8a09e4d4d71b6d28b7ecf5645 Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Sat, 7 Mar 2020 00:42:52 +0100 Subject: [PATCH] eval: fix test --- vlib/v/eval/eval.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/v/eval/eval.v b/vlib/v/eval/eval.v index e316d90347..e0284d913d 100644 --- a/vlib/v/eval/eval.v +++ b/vlib/v/eval/eval.v @@ -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