From 760589e117bed1200cf73834b6571ca0cf814dcd Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Wed, 6 May 2020 19:05:46 +0200 Subject: [PATCH] :art: Abstract not for values --- src/parse/check.c | 3 +-- util | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/parse/check.c b/src/parse/check.c index 0b11a3cc..c71144f1 100644 --- a/src/parse/check.c +++ b/src/parse/check.c @@ -128,8 +128,7 @@ ANN static m_bool check_var_td(const Env env, const Var_Decl var, Type_Decl *con tuple_info(env, v); } else if(GET_FLAG(td, static)) decl_static(env, v); - } else if(GET_FLAG(td, global) || (env->func && GET_FLAG(env->func->def, global))) - SET_FLAG(v, abstract); + } return GW_OK; } diff --git a/util b/util index ea141786..937c8243 160000 --- a/util +++ b/util @@ -1 +1 @@ -Subproject commit ea14178666a7367e7eb558bbd1b38f87c72c81fe +Subproject commit 937c824377a2f609a0fa17869b04935301841427 -- 2.43.0