summaryrefslogtreecommitdiff
path: root/parse/type.c
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2017-06-29 00:40:39 -0700
committerOri Bernstein <ori@eigenstate.org>2017-06-30 23:15:23 -0700
commitf76f863288e8d289c9377dadb31a40bf83baa279 (patch)
tree8feba5c7ad881416fbce434004e0478775aa04da /parse/type.c
parentab23c06108223b4b9d0fbf3e2ecafb0948de0fa5 (diff)
downloadmc-f76f863288e8d289c9377dadb31a40bf83baa279.tar.gz
Remove unused traitlist from Type struct
Diffstat (limited to 'parse/type.c')
-rw-r--r--parse/type.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/parse/type.c b/parse/type.c
index 1d0db27..ef0a292 100644
--- a/parse/type.c
+++ b/parse/type.c
@@ -100,8 +100,6 @@ Type *tydup(Type *t)
r->fixed = 0; /* re-resolving doesn't hurt */
r->traits = bsdup(t->traits);
- r->traitlist = memdup(t->traitlist, t->ntraitlist * sizeof(Node *));
- r->ntraitlist = t->ntraitlist;
r->arg = memdup(t->arg, t->narg * sizeof(Type *));
r->narg = t->narg;