typeof map

cal callumenator at gmail.com
Tue Jun 25 17:25:39 PDT 2013


On Tuesday, 25 June 2013 at 06:58:33 UTC, monarch_dodra wrote:
> On Tuesday, 25 June 2013 at 04:26:00 UTC, Timothee Cour wrote:
>> I think it's because each lambda litteral is treated unique.
>> can dmd be changed to recognize identical lambda litterals as 
>> identical? Is
>> there any particular issue making that difficult?
>> it already recognizes identical string literals as identical
>
> I could be wrong, but the difference might be that it *can* 
> recognize string literals as idential, but it doesn't actually 
> guarantee it as spec. This is not an issue for strings, but...

I also thought it was to do with identical lambda literals being 
unique, and that the code should have compiled, but I've changed 
my mind after seeing your argument.




More information about the Digitalmars-d-learn mailing list