From 9185de3fb7b2690d6a0ee76b15dd8b7733f79b53 Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Thu, 26 Mar 2020 22:28:24 +0100 Subject: [PATCH] cgen: fix tests --- vlib/v/gen/cgen.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/v/gen/cgen.v b/vlib/v/gen/cgen.v index 57c1e93721..4c1487ec4c 100644 --- a/vlib/v/gen/cgen.v +++ b/vlib/v/gen/cgen.v @@ -1548,7 +1548,7 @@ fn (g mut Gen) index_expr(node ast.IndexExpr) { } if g.is_assign_expr && !is_selector { g.is_array_set = true - g.write('/*S $g.assign_op.str() */array_set(&') + g.write('array_set(&') g.expr(node.left) g.write(', ') g.expr(node.index)