From: Jérémie Astor Date: Sun, 31 May 2020 18:13:27 +0000 (+0200) Subject: :bug: Fix envset_pop X-Git-Tag: nightly~1499 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=c959b444f52e5609a6e4014a1b3c8583656410ef;p=gwion.git :bug: Fix envset_pop --- 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); }