From b97fa6f0639ad5c328aa0de981bac5df86717385 Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Tue, 8 Oct 2019 13:49:56 +0200 Subject: [PATCH] :bug: Fix template guess error --- 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 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]; } -- 2.43.0