From: fennecdjay Date: Tue, 10 Sep 2019 20:48:32 +0000 (+0200) Subject: :bug: Fix type_ref X-Git-Tag: nightly~2222 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=7656b6a51094b703f5d9e08b002330e8c4b91d35;p=gwion.git :bug: Fix type_ref --- diff --git a/src/oo/type.c b/src/oo/type.c index aeb17223..87c9d900 100644 --- a/src/oo/type.c +++ b/src/oo/type.c @@ -144,7 +144,7 @@ ANN m_bool type_ref(Type t) { return GW_OK; else { const Type type = t->e->parent->e->d.base_type; - if(GET_FLAG(type, empty)) + if(SAFE_FLAG(type, empty)) return GW_OK; } }