mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
cgen: fix tests
This commit is contained in:
parent
f0334b2e12
commit
9185de3fb7
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user