Tag types on import.
Fixes missing tagged types.
@@ -1026,8 +1026,10 @@ foundextlib:
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) {
