]> Nishi Git Mirror - gwion.git/commitdiff
:bug: mark builtin compound types as compound
authorfennecdjay <fennecdjay@gmail.com>
Sun, 8 Jan 2023 13:43:11 +0000 (14:43 +0100)
committerfennecdjay <fennecdjay@gmail.com>
Sun, 8 Jan 2023 13:43:11 +0000 (14:43 +0100)
src/import/import_cdef.c

index df6a7ccfa4c0e07ed02fc65c8ba4f20e06bf4566..47c680b78d8836cabf2d88ccf51b153440c345f1 100644 (file)
@@ -72,6 +72,7 @@ ANN static Type type_finish(const Gwi gwi, const Type t) {
   if(t->info->cdef && t->info->cdef->base.ext &&
      t->info->cdef->base.ext->array)
     set_tflag(t, tflag_typedef);
+  set_tflag(t, tflag_compound);
   return t;
 }