From bd116d1449cc800a326a6d159923a51404b9a8bb Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Mon, 9 Dec 2019 22:19:07 +0100 Subject: [PATCH] :art: get_free_type_correct --- src/oo/type.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/oo/type.c b/src/oo/type.c index f69a53d0..a3d1d886 100644 --- a/src/oo/type.c +++ b/src/oo/type.c @@ -9,11 +9,11 @@ ANN static inline m_bool freeable(const Type a) { return !GET_FLAG(a, nonnull) && - GET_FLAG(a, template) || GET_FLAG(a, global); + (GET_FLAG(a, template) || GET_FLAG(a, global)); } ANN static void free_type(Type a, Gwion gwion) { - if(freeable(a)) + if(freeable(a)) { if(GET_FLAG(a, union)) { if(a->e->def->union_def) { if(!GET_FLAG(a, pure)) { // <=> decl_list -- 2.43.0