summaryrefslogtreecommitdiff
path: root/parse/node.c
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-08-10 23:44:45 -0700
committerOri Bernstein <ori@eigenstate.org>2015-08-10 23:44:45 -0700
commitd5f2f88064356c362bad8c63153d7543c0141bab (patch)
tree641f71a76851e30cb8328a75ec661f80fc295823 /parse/node.c
parent008529cafa91d5f05b4e3db7db8cd165859acc47 (diff)
downloadmc-d5f2f88064356c362bad8c63153d7543c0141bab.tar.gz
Correctly dedup types in traits.
Diffstat (limited to 'parse/node.c')
-rw-r--r--parse/node.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/parse/node.c b/parse/node.c
index 0be1f9f..3ecfbd0 100644
--- a/parse/node.c
+++ b/parse/node.c
@@ -214,6 +214,7 @@ Node *mkblock(Srcloc loc, Stab *scope)
return n;
}
+
Node *mkimplstmt(Srcloc loc, Node *name, Type *t, Node **decls, size_t ndecls)
{
Node *n;