From: fennecdjay Date: Tue, 9 Jul 2019 23:06:04 +0000 (+0200) Subject: :bug: Fix find_value X-Git-Tag: nightly~2348^2~8 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=1473d7e811ea6ba9b8aad7c9e706cb3c9b7e2295;p=gwion.git :bug: Fix find_value --- 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; \ } \