Bug? aliasing member of instance
    Nick Sabalausky 
    a at a.a
       
    Sat Oct 22 18:16:55 PDT 2011
    
    
  
"Timon Gehr" <timon.gehr at gmx.ch> wrote in message 
news:j7ve1p$2rds$1 at digitalmars.com...
> On 10/22/2011 11:03 PM, Nick Sabalausky wrote:
>> "Timon Gehr"<timon.gehr at gmx.ch>  wrote in message
>> news:j7u9ld$i8t$1 at digitalmars.com...
>>>
>>> alias has never worked for instance members, even if they are accessible
>>> at compile time.
>>
>> Any idea if it's supposed to work?
>>
>>
>
> I do not know. But if it was not supposed to work, the error message could 
> certainly be improved. It is odd that the alias compiles fine but cannot 
> be used later on. That fact maybe indicates that it is supposed to work.
I've filled a report. If it's invalid it can be closed or changed to "bad 
error message":
http://d.puremagic.com/issues/show_bug.cgi?id=6842
    
    
More information about the Digitalmars-d-learn
mailing list