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.

Reply via email to