ref: 3730a2515fa554695c3c424053ed683ac2bdd596
parent: 49694b6e59491cd5cbea965c9025346f1289d293
author: Ori Bernstein <[email protected]>
date: Wed Oct 30 08:16:29 EDT 2013
Don't insert synth types into the dedup table.
--- a/parse/use.c
+++ b/parse/use.c
@@ -678,7 +678,9 @@
htput(tidmap, (void*)tid, t);
/* fix up types */
if (t->type == Tyname) {
- if (!gettype(st, t->name) && !t->issynth && !t->ishidden)
+ if (t->issynth)
+ break;
+ if (!gettype(st, t->name) && !t->ishidden)
puttype(s, t->name, t);
if (!hthas(dedup, t->name))
htput(dedup, t->name, t);