From: Jérémie Astor Date: Mon, 30 Mar 2020 15:33:38 +0000 (+0200) Subject: :bug: Fix assert X-Git-Tag: nightly~1726^2~26 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=0d9603cd2454a0e7f99888ff3012aa28fca43678;p=gwion.git :bug: Fix assert --- diff --git a/src/parse/check.c b/src/parse/check.c index 1298b859..8f85e330 100644 --- a/src/parse/check.c +++ b/src/parse/check.c @@ -24,7 +24,7 @@ ANN static m_bool check_internal(const Env env, const Symbol sym, struct Op_Import opi = { .op=sym, .lhs=e->info->type, .rhs=t, .data=(uintptr_t)&imp, .pos=e->pos, .op_type=op_implicit }; CHECK_OB(op_check(env, &opi)) - assert(e->nspc); + assert(e->info->nspc); return GW_OK; }