From 270aefbb5696b29992c7b34d9c70a4ff5dd1f6d5 Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Sun, 24 Nov 2019 01:02:06 +0100 Subject: [PATCH] :bug: Fix tuples --- src/lib/tuple.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib/tuple.c b/src/lib/tuple.c index 93a295f9..994007dc 100644 --- a/src/lib/tuple.c +++ b/src/lib/tuple.c @@ -138,7 +138,10 @@ static OP_CHECK(opck_at_tuple) { if(e->exp_type == ae_exp_decl) { DECL_OO(const Type, t, = (Type)VPTR(&bin->lhs->type->e->tuple->types, i)) e->d.exp_decl.td->xid->xid = insert_symbol(t->name); + const Exp next = e->next; + e->next = NULL; CHECK_BO(traverse_exp(env, e)) + e->next = next; bin->rhs->meta = ae_meta_var; } ++i; -- 2.43.0