dmd 2.064.2

Szymon Gatner noemail at gmail.com
Wed Nov 6 04:51:46 PST 2013


On Wednesday, 6 November 2013 at 12:44:09 UTC, Dicebot wrote:
> On Wednesday, 6 November 2013 at 12:02:48 UTC, Gary Willoughby 
> wrote:
>> Release notes?
>
> http://dlang.org/changelog

There is a a bug in the "new eponymous syntax" example in the 
changelog:

template isIntOrFloat(T)
{
     static if (is(T == int) || is(T == float))
         enum isIntOrFloat = true;
     else
         enum isIntOrFloat = true; // <======== BUG
}

I am just learning D but those change-logs are awesome! Don't 
think I ever seen anything like this.



More information about the Digitalmars-d-announce mailing list