From 8ec06020fc31f727355b65c14cfdff52b03bbd23 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Mon, 16 Aug 2021 14:09:04 +0200 Subject: [PATCH] :bug: Fix late warnings --- src/emit/emit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emit/emit.c b/src/emit/emit.c index a26111c3..d35b606e 100644 --- a/src/emit/emit.c +++ b/src/emit/emit.c @@ -944,7 +944,7 @@ ANN static void set_late(const Gwion gwion, const Exp_Decl *decl, } static inline bool _late_array(const Array_Sub array) { - return array && !array->exp; + return !array || !array->exp; } ANN static inline bool late_array(const Type_Decl *td, const Var_Decl var) { -- 2.43.0