Issue 7670

Dmitry Olshansky dmitry.olsh at gmail.com
Sun Mar 18 03:32:58 PDT 2012


On 18.03.2012 6:50, bearophile wrote:
> I need to attract a bit of your attention to this:
>
> http://d.puremagic.com/issues/show_bug.cgi?id=7670
>
> Currently this (very nice) code gets accepted even with the -property
> compiler switch:
>
> [1, 2, -3, 4].filter!(x => x > 0).map!(x => x ^^ 0.2).writeln;
>

I fail to see how property should affect this code in any way, no '=' 
anywhere in sight.
UFCS is indeed nice.


-- 
Dmitry Olshansky


More information about the Digitalmars-d mailing list