From: fennecdjay Date: Tue, 8 Oct 2019 11:49:56 +0000 (+0200) Subject: :bug: Fix template guess error X-Git-Tag: nightly~2198^2~102 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=b97fa6f0639ad5c328aa0de981bac5df86717385;p=gwion.git :bug: Fix template guess error --- diff --git a/src/parse/check.c b/src/parse/check.c index 2a1818df..d7926439 100644 --- a/src/parse/check.c +++ b/src/parse/check.c @@ -745,7 +745,7 @@ ANN static Type_List check_template_args(const Env env, Exp_Call *exp, const Tmp } list = list->next; } - if(args_number > type_number) + if(args_number < type_number) ERR_O(exp->func->pos, _("not able to guess types for template call.")) return tl[0]; }