From 4d8ed0aa6be9edf6591a96861754ea6a7dbf0582 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Mon, 25 May 2020 15:36:18 +0200 Subject: [PATCH] :art: Union needs tuple_contains --- src/parse/scan0.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/parse/scan0.c b/src/parse/scan0.c index 445a8b55..e260a9a0 100644 --- a/src/parse/scan0.c +++ b/src/parse/scan0.c @@ -211,6 +211,7 @@ ANN static Type union_type(const Env env, const Symbol s, const m_bool add) { t->e->owner = t->nspc->parent = env->curr; t->e->owner_class = env->class_def; t->e->parent = env->gwion->type[et_union]; + t->e->tuple = new_tupleform(env->gwion->mp, NULL); add_type(env, env->curr, t); if(add) mk_class(env, t); -- 2.43.0