ref: c20862cda53c711fe476f6c7d0f6631af47a4933
parent: 1c6aa08fdbac936e06b36722b1180a39592792c4
author: Ori Bernstein <[email protected]>
date: Sun Nov 15 15:12:57 EST 2015
Remove debugging code.
--- a/parse/infer.c
+++ b/parse/infer.c
@@ -269,22 +269,6 @@
return 0;
}
-void dumpbound(Inferstate *st)
-{
- Type *t;
- void **k;
- ssize_t i;
- size_t nk, j;
-
- for (i = st->ntybindings - 1; i >= 0; i--) {
- k = htkeys(st->tybindings[i], &nk);
- for (j = 0; j < nk; j++) {
- t = htget(st->tybindings[i], k[j]);
- printf("bound: %s\n", t->pname);
- }
- }
-}
-
/* Checks if a type that directly contains itself.
* Recursive types that contain themselves through
* pointers or slices are fine, but any other self-inclusion