From de8af94d4337a891cba3979aff96be71567694d6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Sat, 16 May 2020 23:50:28 +0200 Subject: [PATCH] :art: @Array @=> decl @Array sets ref --- src/lib/array.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/array.c b/src/lib/array.c index 8bbd0d8b..73679ef8 100644 --- a/src/lib/array.c +++ b/src/lib/array.c @@ -153,6 +153,7 @@ static OP_CHECK(opck_array_at) { ERR_N(exp_self(bin)->pos, _("array depths do not match.")) } if(bin->rhs->exp_type == ae_exp_decl) { + SET_FLAG(bin->rhs->d.exp_decl.td, ref); if(bin->rhs->d.exp_decl.list->self->array && bin->rhs->d.exp_decl.list->self->array->exp) ERR_N(exp_self(bin)->pos, _("do not provide array for 'xxx @=> declaration'.")) -- 2.43.0