From: Jérémie Astor Date: Wed, 8 Sep 2021 13:40:20 +0000 (+0200) Subject: :art: Internal extending array X-Git-Tag: nightly~458 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=426102723265c44dfa661965acbcc776fbf47b57;p=gwion.git :art: Internal extending array --- diff --git a/src/import/import_cdef.c b/src/import/import_cdef.c index 251fc00c..4d128883 100644 --- a/src/import/import_cdef.c +++ b/src/import/import_cdef.c @@ -68,6 +68,9 @@ ANN static Type type_finish(const Gwi gwi, const Type t) { gwi->lint->indent++; lint_class_def(gwi->lint, t->info->cdef); } + if(t->info->cdef && t->info->cdef->base.ext && + t->info->cdef->base.ext->array) + set_tflag(t, tflag_typedef); return t; }