summaryrefslogtreecommitdiff
path: root/parse/use.c
diff options
context:
space:
mode:
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':