is(...) with alias this

Zhenya zheny at list.ru
Sun Jan 6 05:57:23 PST 2013


On Saturday, 5 January 2013 at 22:17:08 UTC, monarch_dodra wrote:
> On Saturday, 5 January 2013 at 22:09:45 UTC, Philippe Sigaud 
> wrote:
>> I think the alias this transformation is done 'before' any 
>> usual
>> conversion. I guess it's a real replacement inside the code 
>> (I'm not sure
>> how to explain my feeling).
>>
>> But in any case, since OhWhy!(float) type is ... 
>> OhWhy!(float), I agree
>> this should fail.
>
> Agreed. This warrants a ticket in bugzilla.

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


More information about the Digitalmars-d-learn mailing list