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





------- Comment #6 from [EMAIL PROTECTED]  2008-12-11 06:19 -------
But I can't accept that:
class B:A,mix 
{
        mixin mixtem; 
        void pr() 
        { 
                print("OK");   // this should call mixin member func
                writefln("B"); 
        } 
}

works

while:

class B:A,mix 
{
        alias A.print print;    
        mixin mixtem; 
        void pr() 
        { 
                print("OK");   // this should call mixin member func
                writefln("B"); 
        } 
}

doesn't work.

An alias shouldn't hide a func that I try to call.


-- 

Reply via email to