From: Jérémie Astor Date: Wed, 11 Aug 2021 06:57:46 +0000 (+0200) Subject: :art: more array_base_simple X-Git-Tag: nightly~470^2~109 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=66221da7082517deb42f447ea3a99cfb4ac5efd8;p=gwion.git :art: more array_base_simple --- diff --git a/src/parse/template.c b/src/parse/template.c index 52d9f153..7e8f3eeb 100644 --- a/src/parse/template.c +++ b/src/parse/template.c @@ -139,7 +139,7 @@ ANN Type scan_type(const Env env, const Type t, Type_Decl *td) { Type_Decl *next = td->next; td->next = NULL; const Type maybe_array = known_type(env, td); - const Type owner = array_base(maybe_array); + const Type owner = array_base_simple(maybe_array); td->next = next; CHECK_OO(owner); if (!owner->nspc) ERR_O(td->pos, "type '%s' has no namespace", owner->name)