From 1473d7e811ea6ba9b8aad7c9e706cb3c9b7e2295 Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Wed, 10 Jul 2019 01:06:04 +0200 Subject: [PATCH] :bug: Fix find_value --- src/oo/type.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/oo/type.c b/src/oo/type.c index ca36381c..f8bc74af 100644 --- a/src/oo/type.c +++ b/src/oo/type.c @@ -66,7 +66,7 @@ ANN Type find_common_anc(const restrict Type lhs, const restrict Type rhs) { #define describe_find(name, t) \ ANN t find_##name(const Type type, const Symbol xid) { \ if(type->nspc) { \ - const t val = nspc_lookup_##name##1(type->nspc, xid); \ + const t val = nspc_lookup_##name##0(type->nspc, xid); \ if(val) \ return val; \ } \ -- 2.43.0