]> Nishi Git Mirror - gwion.git/commitdiff
:art: Clean
authorfennecdjay <fennecdjay@gmail.com>
Mon, 8 Aug 2022 15:22:40 +0000 (17:22 +0200)
committerfennecdjay <fennecdjay@gmail.com>
Mon, 8 Aug 2022 15:22:40 +0000 (17:22 +0200)
src/parse/check.c

index ef7db50f5bbe354c0d0bf769e45c28c569177857..7dafbd90a1cbd8e3eb86c4d1108010703226cc09 100644 (file)
@@ -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);