From 7656b6a51094b703f5d9e08b002330e8c4b91d35 Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Tue, 10 Sep 2019 22:48:32 +0200 Subject: [PATCH] :bug: Fix type_ref --- src/oo/type.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } -- 2.43.0