From 63cc8ff4d65d5703dbf378446313aeba6386a230 Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Thu, 10 Oct 2019 16:02:28 +0200 Subject: [PATCH] :art: Remove useless check --- src/lib/func.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/lib/func.c b/src/lib/func.c index 0a284176..430defb8 100644 --- a/src/lib/func.c +++ b/src/lib/func.c @@ -262,8 +262,6 @@ ANN Type check_exp_unary_spork(const Env env, const Stmt code); static OP_CHECK(opck_spork) { const Exp_Unary* unary = (Exp_Unary*)data; - if(exp_self(unary)->next) - ERR_O(exp_self(unary)->pos, _("spork/fork must not have next expression")) if(unary->exp && unary->exp->exp_type == ae_exp_call) return env->gwion->type[unary->op == insert_symbol("spork") ? et_shred : et_fork]; if(unary->code) { -- 2.43.0