From 0d9603cd2454a0e7f99888ff3012aa28fca43678 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Mon, 30 Mar 2020 17:33:38 +0200 Subject: [PATCH] :bug: Fix assert --- src/parse/check.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.43.0