From: Jérémie Astor Date: Mon, 21 Dec 2020 23:41:19 +0000 (+0100) Subject: :art: Be more permissive X-Git-Tag: nightly~1081 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=8cfa8619f924eb9b44cc6ccb54822074fb6c3fa8;p=gwion.git :art: Be more permissive --- diff --git a/src/parse/scan1.c b/src/parse/scan1.c index 0789d086..be1bb5d7 100644 --- a/src/parse/scan1.c +++ b/src/parse/scan1.c @@ -86,8 +86,8 @@ ANN static m_bool scan1_decl(const Env env, const Exp_Decl* decl) { CHECK_BB(scan1_exp(env, var->array->exp)) t = array_type(env, decl->type, var->array->depth); } else if(GET_FLAG(t, abstract) && !GET_FLAG(decl->td, late)) { - ERR_B(var->pos, "Type '%s' is abstract, use late") - // SET_FLAG(decl->td, late); + // ERR_B(var->pos, "Type '%s' is abstract, use late", t->name) + SET_FLAG(decl->td, late); } const Value v = var->value = var->value ?: new_value(env->gwion->mp, t, s_name(var->xid)); // rewrite logic