More bugs...

Timon Gehr timon.gehr at gmx.ch
Wed May 2 01:33:53 PDT 2012


On 05/02/2012 04:14 AM, Mehrdad wrote:
> Yes, that non-global issue was the exact issue I was referring to. It
> drives me nuts whenever I try to give in and use templates.
>
>
> Regarding your "fix":
> Is it *really* intended that user should say
> arr.filter((typeof(some_random_expression) x) => x < y);
> instead of
> arr.filter(x => x < y);
> ?
>
> I think it's pretty obvious why that doesn't really work in practice...

I agree that it should be fixed, but it is technically not a bug in the 
implementation.


More information about the Digitalmars-d mailing list