]> Nishi Git Mirror - gwion.git/commitdiff
:art: Abstract not for values
authorJérémie Astor <astor.jeremie@wanadoo.fr>
Wed, 6 May 2020 17:05:46 +0000 (19:05 +0200)
committerJérémie Astor <astor.jeremie@wanadoo.fr>
Wed, 6 May 2020 17:05:46 +0000 (19:05 +0200)
src/parse/check.c
util

index 0b11a3cca1c5a48e3702d4260c2a38622e71b2c1..c71144f18ec050d901da3df4290145f1e2a345f1 100644 (file)
@@ -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 ea14178666a7367e7eb558bbd1b38f87c72c81fe..937c824377a2f609a0fa17869b04935301841427 160000 (submodule)
--- a/util
+++ b/util
@@ -1 +1 @@
-Subproject commit ea14178666a7367e7eb558bbd1b38f87c72c81fe
+Subproject commit 937c824377a2f609a0fa17869b04935301841427