From: fennecdjay Date: Mon, 8 Aug 2022 15:22:40 +0000 (+0200) Subject: :art: Clean X-Git-Tag: nightly~264^2~48 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=c263e0ea8e093b2b53523df9893fb0842bf4345f;p=gwion.git :art: Clean --- diff --git a/src/parse/check.c b/src/parse/check.c index ef7db50f..7dafbd90 100644 --- a/src/parse/check.c +++ b/src/parse/check.c @@ -967,11 +967,7 @@ ANN static Type check_exp_binary(const Env env, const Exp_Binary *bin) { if(bin->rhs->exp_type == ae_exp_call && !bin->rhs->d.exp_call.tmpl) bin->rhs->d.exp_call.other = bin->lhs; const m_uint scope = env->scope->depth; - if(bin->op == insert_symbol(">=>")) - env_push_type(env, bin->lhs->type); CHECK_OO(check_exp(env, bin->rhs)); - if(bin->op == insert_symbol(">=>")) - env_pop(env, scope); if (is_auto) { assert(bin->rhs->type == bin->lhs->type); set_vflag(bin->rhs->d.exp_decl.vd.value, vflag_assigned);