http://d.puremagic.com/issues/show_bug.cgi?id=7780



--- Comment #2 from Simen Kjaeraas <simen.kja...@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: -------

Reply via email to