ref: a3bce47d15d25fc3bca79ee50fca3fd4df538d5b
parent: 9dd2a40974da19018eeb33338cfcc486f4eeca8d
author: Ori Bernstein <ori@eigenstate.org>
date: Tue May 7 04:35:01 EDT 2019
Tag types on import. Fixes missing tagged types.
--- a/parse/use.c
+++ b/parse/use.c
@@ -1026,8 +1026,10 @@
case 'T':
tid = rdint(f);
ty = tyunpickle(f);
- if (!ty->ishidden)
+ if (!ty->ishidden) {
+ tagtype(ty);
ty->vis = vis;
+ }
htput(tidmap, itop(tid), ty);
/* fix up types */
if (ty->type == Tyname || ty->type == Tygeneric) {