ref: 0584162d2da919d3ef7037f007021abbf793cfd3
parent: 8c6a9b940b85f46056519373fcca1d9aefd49eec
author: Ori Bernstein <[email protected]>
date: Tue Aug 20 20:43:55 EDT 2013
We should never have types to bind in ->sub. Delete the code that tries to bind subtypes.
--- a/parse/infer.c
+++ b/parse/infer.c
@@ -398,8 +398,6 @@
htput(bt, t->pname, t);
for (i = 0; i < t->nparam; i++)
putbindings(st, bt, t->param[i]);
- for (i = 0; i < t->nsub; i++)
- putbindings(st, bt, t->sub[i]);
}
static void tybind(Inferstate *st, Type *t)