]> Nishi Git Mirror - gwion.git/commitdiff
:bug: Fix type_ref
authorfennecdjay <astor.jeremie@wanadoo.fr>
Tue, 10 Sep 2019 20:48:32 +0000 (22:48 +0200)
committerfennecdjay <astor.jeremie@wanadoo.fr>
Tue, 10 Sep 2019 20:48:32 +0000 (22:48 +0200)
src/oo/type.c

index aeb172234492be766197a04823812ad498417bc7..87c9d9001173bd327fa43c34826367def3647930 100644 (file)
@@ -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;
         }
       }