From: Jérémie Astor Date: Mon, 13 Apr 2020 16:48:07 +0000 (+0200) Subject: :bug: Fix lambda arument emit_var X-Git-Tag: nightly~1700 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=05f9cfb34f9bef72eccafbbc8555795fe4fbec49;p=gwion.git :bug: Fix lambda arument emit_var --- diff --git a/src/parse/check.c b/src/parse/check.c index 18362f99..a2567d35 100644 --- a/src/parse/check.c +++ b/src/parse/check.c @@ -395,7 +395,7 @@ ANN static m_bool func_match_inner(const Env env, const Exp e, const Type t, const Type owner = nspc_lookup_type1(t->e->owner->parent, insert_symbol(t->e->owner->name)); const m_bool ret = check_lambda(env, owner, &e->d.exp_lambda, t->e->d.func->def); -// exp_setvar(e, 1); + exp_setvar(e, 1); return ret; } if(implicit)