[Issue 7780] Template mixin'd members do not properly overload
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat May 19 02:59:27 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7780
--- Comment #2 from Simen Kjaeraas <simen.kjaras at gmail.com> 2012-05-19 03:01:00 PDT ---
(In reply to comment #1)
> Also trivial methods hides mixin overloads:
>
[snip]
Actually, that is quite clearly described under template mixins[1]:
"If the name of a declaration in a mixin is the same as a declaration in the
surrounding scope, the surrounding declaration overrides the mixin one"
I agree it would be nice to have a way to not have them override, but I can
absolutely see why one might want that rule.
[1]: http://dlang.org/template-mixin.html
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list