shithub: mc

Download patch

ref: 4e1e9e32cfb509accccb254cd3c71824a64abd85
parent: 28a09414d4f8ec3aa8961c079a4fc13081beb34e
author: Ori Bernstein <ori@eigenstate.org>
date: Wed Dec 30 16:15:23 EST 2015

Tag all types in impl statements.

--- a/lib/bio/bld.sub
+++ b/lib/bio/bld.sub
@@ -2,6 +2,7 @@
 	bio.myr
 	geti.myr
 	puti.myr
+	iter.myr
 
         lib ../std:std
         lib ../sys:sys
--- a/parse/infer.c
+++ b/parse/infer.c
@@ -2333,6 +2333,9 @@
 		nodetag(st, n->func.body, ingeneric, hidelocal);
 		break;
 	case Nimpl:
+		taghidden(n->impl.type);
+		for (i = 0; i < n->impl.naux; i++)
+			taghidden(n->impl.aux[i]);
 		for (i = 0; i < n->impl.ndecls; i++) {
 			n->impl.decls[i]->decl.vis = Vishidden;
 			nodetag(st, n->impl.decls[i], 0, hidelocal);