summaryrefslogtreecommitdiff
path: root/parse
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2017-08-21 11:13:19 -0700
committerOri Bernstein <ori@markovcorp.com>2017-08-21 11:16:38 -0700
commit48434f5600e0d0096226462e4fe1e55270e1eb0d (patch)
tree9ac24f79289791d47587d11e94b93fb1a7deef68 /parse
parent73e2c5b1664a814e363364921270ae365473e622 (diff)
downloadmc-48434f5600e0d0096226462e4fe1e55270e1eb0d.tar.gz
Clean up dial+plan9.myr
Diffstat (limited to 'parse')
-rw-r--r--parse/infer.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/parse/infer.c b/parse/infer.c
index 44fb805..693d074 100644
--- a/parse/infer.c
+++ b/parse/infer.c
@@ -477,7 +477,6 @@ static void
tyresolve(Type *t)
{
size_t i;
- Type *base;
if (t->resolved)
return;
@@ -529,7 +528,6 @@ tyresolve(Type *t)
tystr(t->sub[i]), tystr(t));
}
}
- base = tybase(t);
if (occurs(t))
lfatal(t->loc, "type %s includes itself", tystr(t));
popenv(t->env);