summaryrefslogtreecommitdiff
path: root/parse/type.c
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2019-02-16 15:47:14 -0800
committerOri Bernstein <ori@eigenstate.org>2019-02-16 15:47:14 -0800
commit178ce0afad1d2ec8af4814ce5970d2e8194b849f (patch)
tree18ee3d15ae355ec89ea672dceb952362c364cc8b /parse/type.c
parentcc5182284db2880dcfc3b0bd61dbc6ed319bacc3 (diff)
downloadmc-178ce0afad1d2ec8af4814ce5970d2e8194b849f.tar.gz
Clean up redundant code.
Diffstat (limited to 'parse/type.c')
-rw-r--r--parse/type.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/parse/type.c b/parse/type.c
index 7ad7c0e..62d4a5e 100644
--- a/parse/type.c
+++ b/parse/type.c
@@ -835,6 +835,8 @@ tyeq_rec(Type *a, Type *b, Bitset *avisited, Bitset *bvisited, int search)
case Typaram:
ret = (a == b);
ret = ret || streq(a->pname, b->pname);
+ //if (ret != streq(a->pname, b->pname))
+ // die("wat");
break;
case Tyvar:
if (a->tid != b->tid)