shithub: mc

Download patch

ref: 1e6724ebb8fcf53876cd280efd2bf63c51c3f834
parent: a3bce47d15d25fc3bca79ee50fca3fd4df538d5b
author: Ori Bernstein <ori@eigenstate.org>
date: Wed May 8 03:15:24 EDT 2019

Revert "Tag types on import."

This reverts commit a3bce47d15d25fc3bca79ee50fca3fd4df538d5b.

--- a/parse/use.c
+++ b/parse/use.c
@@ -1026,10 +1026,8 @@
 		case 'T':
 			tid = rdint(f);
 			ty = tyunpickle(f);
-			if (!ty->ishidden) {
-				tagtype(ty);
+			if (!ty->ishidden)
 				ty->vis = vis;
-			}
 			htput(tidmap, itop(tid), ty);
 			/* fix up types */
 			if (ty->type == Tyname || ty->type == Tygeneric) {