ref: c903ebab019372ce96c0122df1ab76f6a5db5f2e
parent: e25072ea2bea6bc603143ddb0cc110982e90161b
author: Ori Bernstein <ori@eigenstate.org>
date: Sat Jan 9 16:51:39 EST 2016
Duplicate tags for hidden types. This is suboptimal, but it prevents issues when we have an exported generic.
--- a/6/gengas.c
+++ b/6/gengas.c
@@ -434,7 +434,7 @@
fprintf(fd, "\n");
for (i = 0; i < ntypes; i++)
- if (types[i]->isreflect && !types[i]->isimport)
+ if (types[i]->isreflect && (!types[i]->isimport || types[i]->ishidden))
gentype(fd, types[i]);
fprintf(fd, "\n");