From 66221da7082517deb42f447ea3a99cfb4ac5efd8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Wed, 11 Aug 2021 08:57:46 +0200 Subject: [PATCH] :art: more array_base_simple --- src/parse/template.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.43.0