]> Nishi Git Mirror - gwion.git/commitdiff
:bug: Fix decl => smth
authorJérémie Astor <fennecdjay@gmail.com>
Sun, 27 Mar 2022 19:54:17 +0000 (21:54 +0200)
committerJérémie Astor <fennecdjay@gmail.com>
Sun, 27 Mar 2022 19:54:17 +0000 (21:54 +0200)
src/lib/object_op.c

index 3d3e6f20e69226295f9f2ef1612bdfc51c9ffb35..fb7dba45028e09c59dd18ea5b86b08c4b08d8850 100644 (file)
@@ -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;
 }