summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2019-02-05 21:27:14 -0800
committerOri Bernstein <ori@eigenstate.org>2019-02-05 21:27:14 -0800
commitb31626248ea64c23d2020846e2cac1c751348b61 (patch)
treee5d830166466b6fe2c31176d02ad8b0b6cdb0e9f
parent4da95e96e01dac40ff290b1e2cb4e9f641aea398 (diff)
downloadmc-b31626248ea64c23d2020846e2cac1c751348b61.tar.gz
Add a missing tysearch.
-rw-r--r--parse/type.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/parse/type.c b/parse/type.c
index c931f7d..87c149b 100644
--- a/parse/type.c
+++ b/parse/type.c
@@ -419,6 +419,7 @@ hasparamsrec(Type *t, Bitset *visited)
{
size_t i;
+ t = tysearch(t);
if (bshas(visited, t->tid))
return 0;
bsput(visited, t->tid);