]> Nishi Git Mirror - gwion.git/commitdiff
:art: Internal extending array
authorJérémie Astor <fennecdjay@gmail.com>
Wed, 8 Sep 2021 13:40:20 +0000 (15:40 +0200)
committerJérémie Astor <fennecdjay@gmail.com>
Wed, 8 Sep 2021 13:40:20 +0000 (15:40 +0200)
src/import/import_cdef.c

index 251fc00cfce7f5676fe9099f14b4f79a9f0ca051..4d128883b76eb586a5117dd9fe2322599807cccd 100644 (file)
@@ -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;
 }