On 1/28/12, Daniel Murphy <yebbl...@nospamgmail.com> wrote:
> "Andrej Mitrovic" <andrej.mitrov...@gmail.com> wrote in message
> news:mailman.101.1327757271.25230.digitalmar...@puremagic.com...
>> I did notice something about mixins, they hide existing aliases. If
>> you already had those aliases listed and you added this mixin, the
>> newly mixed in aliases will not conflict with the old ones. I find
>> this behavior rather odd, even if it's defined this way..
>
> Are you sure?  I thought it was the other way around, mixed-in members did
> not override existing ones...

int foo, bar;
alias foo target;
alias bar target;  // error
mixin("alias bar target;");  // but use this instead and no problem..

Reply via email to