digitalmars.D - Issue 7670
- bearophile (7/7) Mar 17 2012 I need to attract a bit of your attention to this:
- F i L (2/9) Mar 17 2012 Is UFCS planned for 2.059?
- H. S. Teoh (7/8) Mar 17 2012 [...]
- F i L (2/3) Mar 18 2012 Great!
- Dmitry Olshansky (6/11) Mar 18 2012 I fail to see how property should affect this code in any way, no '='
- David Nadlinger (3/9) Mar 18 2012 Calling parameterless functions without parens?
- Dmitry Olshansky (4/13) Mar 18 2012 Ah, right. It was right there in the plain sight :)
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; Bye, bearophile
Mar 17 2012
On Sunday, 18 March 2012 at 02:50:40 UTC, 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; Bye, bearophileIs UFCS planned for 2.059?
Mar 17 2012
On Sun, Mar 18, 2012 at 05:33:21AM +0100, F i L wrote: [...]Is UFCS planned for 2.059?[...] It's already checked into git. So it will be in 2.059 for sure. T -- Let's call it an accidental feature. -- Larry Wall
Mar 17 2012
H. S. Teoh wrote:It's already checked into git. So it will be in 2.059 for sure.Great!
Mar 18 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
Mar 18 2012
On Sunday, 18 March 2012 at 10:32:59 UTC, Dmitry Olshansky wrote:On 18.03.2012 6:50, bearophile wrote:Calling parameterless functions without parens? David[…] [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.
Mar 18 2012
On 18.03.2012 15:36, David Nadlinger wrote:On Sunday, 18 March 2012 at 10:32:59 UTC, Dmitry Olshansky wrote:Ah, right. It was right there in the plain sight :) -- Dmitry OlshanskyOn 18.03.2012 6:50, bearophile wrote:Calling parameterless functions without parens? David[…] [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.
Mar 18 2012