summaryrefslogtreecommitdiff
path: root/parse/use.c
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2019-03-04 00:17:19 -0800
committerOri Bernstein <ori@eigenstate.org>2019-03-14 00:20:54 -0700
commit01cf9608db97e2b4fe6bec921ab1c28201605f82 (patch)
treeb5a73222282fac3210f36020fae4aaff92ed93b3 /parse/use.c
parent1c20d382566fcdfdf5585b1bd8f1f27d7dbd6425 (diff)
downloadmc-01cf9608db97e2b4fe6bec921ab1c28201605f82.tar.gz
Get a bit better at wrangling type bindings.
Diffstat (limited to 'parse/use.c')
-rw-r--r--parse/use.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/parse/use.c b/parse/use.c
index 7d22103..b08aced 100644
--- a/parse/use.c
+++ b/parse/use.c
@@ -1019,6 +1019,8 @@ foundextlib:
for (i = 0; i < tr->nproto; i++) {
putdcl(s, tr->proto[i]);
tr->proto[i]->decl.ishidden = tr->ishidden;
+ if (tr->proto[i]->decl.env)
+ tr->proto[i]->decl.env->super = tr->env;
}
break;
case 'T':