From c959b444f52e5609a6e4014a1b3c8583656410ef Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Sun, 31 May 2020 20:13:27 +0200 Subject: [PATCH] :bug: Fix envset_pop --- src/env/envset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/env/envset.c b/src/env/envset.c index b57df234..5a7a239b 100644 --- a/src/env/envset.c +++ b/src/env/envset.c @@ -49,7 +49,7 @@ ANN2(1) void envset_pop(struct EnvSet *es, const Type t) { if(GET_FLAG(t, template)) nspc_pop_type(es->env->gwion->mp, es->env->curr); if(t->e->owner_class) - envset_pop(es, t); + envset_pop(es, t->e->owner_class); else env_pop(es->env, es->scope); } -- 2.43.0