ref: 905f4d10a78e7e2f6eb849cf373b14cd78c87d73
parent: a8ab64015b9419f0a32c1162c2442c27163dff66
author: Ori Bernstein <ori@eigenstate.org>
date: Sun Feb 10 10:21:02 EST 2019
Boundtype should be harmless on non-params.
--- a/parse/stab.c
+++ b/parse/stab.c
@@ -734,6 +734,8 @@
Tyenv *e;
Type *r;
+ if (t->type != Typaram)
+ return NULL;
for (e = curenv(); e; e = e->super) {
r = htget(e->tab, t);
if (r)