Proposal to add 'Elements of Programming' Concepts to std.traits
Philippe Sigaud
philippe.sigaud at gmail.com
Sun Jun 17 13:00:13 PDT 2012
On Sun, Jun 17, 2012 at 6:39 PM, Timon Gehr <timon.gehr at gmx.ch> wrote:
>> // alias Constrained!(int, (x) { return x> 0;}) Positive; // ka-boom!
>> // alias Constrained!(int, x => x> 0) Positive; // no such luck
>>
>
> I have reported this bug a few days ago:
> http://d.puremagic.com/issues/show_bug.cgi?id=8242
>
> Apparently, Kenji Hara has already fixed it.
No wonder, it takes him about 23 minutes, on average, to fix bugs once
they are reported :)
But, if he really fixed it (in the general case, lambda context botch
and all), then he just corrected one of the most annoying bugs as far
as I'm concerned. I hit it in every D project I have. Then I'll be,
once more, forever grateful to Kenji Hara.
More information about the Digitalmars-d
mailing list