From: Jérémie Astor Date: Sun, 27 Mar 2022 19:54:17 +0000 (+0200) Subject: :bug: Fix decl => smth X-Git-Tag: nightly~357 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=97dc9744e86e93a5da1a428d1040b471e23105b8;p=gwion.git :bug: Fix decl => smth --- diff --git a/src/lib/object_op.c b/src/lib/object_op.c index 3d3e6f20..fb7dba45 100644 --- a/src/lib/object_op.c +++ b/src/lib/object_op.c @@ -36,7 +36,7 @@ static OP_CHECK(opck_object_at) { } exp_setvar(bin->rhs, 1); CHECK_BO(isa(bin->lhs->type, bin->rhs->type)); - bin->lhs->ref = bin->rhs; + bin->rhs->ref = bin->lhs; return bin->rhs->type; }