summaryrefslogtreecommitdiff
path: root/6/genp9.c
diff options
context:
space:
mode:
Diffstat (limited to '6/genp9.c')
-rw-r--r--6/genp9.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/6/genp9.c b/6/genp9.c
index d61cc83..d4c9e98 100644
--- a/6/genp9.c
+++ b/6/genp9.c
@@ -472,7 +472,7 @@ void genp9(Node *file, char *out)
for (i = 0; i < nfn; i++)
genfunc(fd, fn[i], globls, strtab);
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");
genstrings(fd, strtab);