shithub: mc

Download patch

ref: 43002686eddf2bf80351b77dfd77337da647d227
parent: d6284861a168133c0e72078cb4770796d4fb855d
author: Ori Bernstein <ori@eigenstate.org>
date: Sat Aug 26 16:42:20 EDT 2017

...The line that fixes things should probably get committed.

--- a/6/simp.c
+++ b/6/simp.c
@@ -1117,8 +1117,8 @@
 		u = idxaddr(s, t, n->expr.args[1]);
 		r = load(u);
 		break;
-		/* array.len slice.len are magic 'virtual' members.
-		 * they need to be special cased. */
+	/* array.len slice.len are magic 'virtual' members.
+	* they need to be special cased. */
 	case Omemb:
 		t = membaddr(s, n);
 		r = load(t);
--- a/parse/type.c
+++ b/parse/type.c
@@ -868,8 +868,8 @@
 			}
 		}
 	}
-	if (ret) {
-	}
+	if (ret)
+		equate(a->tid, b->tid);
 	bsdel(avisited, a->tid);
 	bsdel(bvisited, b->tid);