From bfecc36c49ddadfd17ac7bb2b5b6252f1366a3dc Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Tue, 7 Sep 2021 00:26:57 +0200 Subject: [PATCH] :bug: Fix typedef --- src/parse/scan0.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/parse/scan0.c b/src/parse/scan0.c index 6fbc5d74..d099f629 100644 --- a/src/parse/scan0.c +++ b/src/parse/scan0.c @@ -284,6 +284,7 @@ ANN static m_bool scan0_class_def_pre(const Env env, const Class_Def cdef) { ANN static inline void cdef_flag(const Class_Def cdef, const Type t) { if (cdef->base.tmpl) set_tflag(t, tflag_tmpl); + if (cdef->base.ext && cdef->base.ext->array) set_tflag(t, tflag_typedef); } ANN static Type get_parent_base(const Env env, Type_Decl *td) { -- 2.43.0