summaryrefslogtreecommitdiff
path: root/parse/gram.y
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2016-02-06 22:38:29 -0800
committerOri Bernstein <ori@eigenstate.org>2016-02-07 01:16:49 -0800
commit03857943018a82e1101cecbb026b5e11f4061dc5 (patch)
treef3bec664245228aa862cf28f35d0a6aeca899d14 /parse/gram.y
parent061c7f286ebf2ee6e0afb0a0fb2b90397b848e23 (diff)
downloadmc-03857943018a82e1101cecbb026b5e11f4061dc5.tar.gz
Generic iterators now seem to work.
Diffstat (limited to 'parse/gram.y')
-rw-r--r--parse/gram.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse/gram.y b/parse/gram.y
index cc69635..732ad9b 100644
--- a/parse/gram.y
+++ b/parse/gram.y
@@ -399,7 +399,7 @@ traitdef: Ttrait Tident generictype optauxtypes { /* trait prototype */
0);
for (i = 0; i < $6.nn; i++) {
$6.nl[i]->decl.trait = $$;
- $6.nl[i]->decl.__impls = mkht(tyhash, tyeq);
+ $6.nl[i]->decl.impls = mkht(tyhash, tyeq);
$6.nl[i]->decl.isgeneric = 1;
}
}