On 1/28/12, Daniel Murphy <[email protected]> wrote:
> "Andrej Mitrovic" <[email protected]> wrote in message
> news:[email protected]...
>> 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..