From ae74b49041c3f9188e69ac3f84ee4f7c2c7a926a Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Thu, 10 Oct 2019 16:54:42 +0200 Subject: [PATCH] :art: Improve find_value --- src/lib/instr.c | 2 +- src/oo/type.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/instr.c b/src/lib/instr.c index 66d305c6..8b9fe2bb 100644 --- a/src/lib/instr.c +++ b/src/lib/instr.c @@ -116,5 +116,5 @@ INSTR(DotTmpl) { return; } } while((t = t->e->parent)); - Except(shred, "MissigTmplException[internal]"); //unreachable + Except(shred, "MissigTmplException[internal]"); } diff --git a/src/oo/type.c b/src/oo/type.c index bcdb2bfd..4c00d740 100644 --- a/src/oo/type.c +++ b/src/oo/type.c @@ -75,7 +75,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