t->info->cdef->base.type = t;
t->info->tuple = new_tupleform(gwi->gwion->mp, p);
t->info->parent = p;
- if (td->array) set_tflag(t, tflag_typedef);
if (ck.sl)
set_tflag(t, tflag_tmpl | tflag_ntmpl);
else
return GW_OK;
}
-ANN static void cdef_flag(const Class_Def cdef, const Type t) {
+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) {
t->flag |= cdef->flag;
// add_type(env, t->info->value->from->owner, t);
cdef_flag(cdef, t);
- if (cdef->base.ext && cdef->base.ext->array) set_tflag(t, tflag_typedef);
return t;
}