From 3ef2e866c11758531df5591612f032dfd88f9226 Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Wed, 11 Nov 2020 00:20:16 +0100 Subject: [PATCH] :art: Remove goto [fix] --- src/parse/func_resolve_tmpl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parse/func_resolve_tmpl.c b/src/parse/func_resolve_tmpl.c index 88a0081a..a53d8b52 100644 --- a/src/parse/func_resolve_tmpl.c +++ b/src/parse/func_resolve_tmpl.c @@ -156,7 +156,7 @@ ANN Func find_template_match(const Env env, const Value value, const Exp_Call* e while(t && t->nspc) { Func_Def fdef = value->d.func_ref ? value->d.func_ref->def : value->type->info->func->def; const Value v = nspc_lookup_value0(t->nspc, fdef->base->xid); - if(!v) { + if(v) { const Func f = _find_template_match(env, v, exp); if(f) return f; -- 2.43.0