summaryrefslogtreecommitdiff
path: root/parse/gram.y
diff options
context:
space:
mode:
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 732ad9b..cc69635 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;
}
}