From 05f9cfb34f9bef72eccafbbc8555795fe4fbec49 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Mon, 13 Apr 2020 18:48:07 +0200 Subject: [PATCH] :bug: Fix lambda arument emit_var --- 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 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) -- 2.43.0