shithub: mc

Download patch

ref: 7ad2500a5180e9e998cb913f8cb8d42a30bb505a
parent: d9849c024427afe138fcfa43f6b650341572c12b
author: Ori Bernstein <[email protected]>
date: Tue Feb 25 08:10:17 EST 2014

Add a comment about why we skip trait functions.

--- a/parse/use.c
+++ b/parse/use.c
@@ -893,6 +893,7 @@
     k = htkeys(st->dcl, &n);
     for (i = 0; i < n; i++) {
         s = getdcl(st, k[i]);
+        /* trait functions get written out with their traits */
         if (s->decl.istraitfn)
             continue;
         if (s && s->decl.isgeneric)