]> Nishi Git Mirror - gwion.git/commitdiff
:bug: Remove faulty assert
authorfennecdjay <astor.jeremie@wanadoo.fr>
Sun, 1 Sep 2019 23:16:24 +0000 (01:16 +0200)
committerfennecdjay <astor.jeremie@wanadoo.fr>
Sun, 1 Sep 2019 23:16:24 +0000 (01:16 +0200)
src/parse/scan1.c

index 059c7a4b7b3f9bc70bc1319850bbadc21bc91a4d..39332129c7bb592bcb7167bd1a60c376b3728d50 100644 (file)
@@ -43,7 +43,6 @@ ANN static Type void_type(const Env env, const Type_Decl* td) {
   DECL_OO(const Type, type, = known_type_noref(env, td))
 {
   const Type t = get_type(type);
-  assert(GET_FLAG(t, scan1));
   if(isa(t, t_object) > 0)
     CHECK_BO(type_recursive(env, td, t))
 }