Bug? aliasing member of instance

Timon Gehr timon.gehr at gmx.ch
Sat Oct 22 14:52:59 PDT 2011


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.


More information about the Digitalmars-d-learn mailing list