On 08/04/2015 04:57 PM, Martin Nowak wrote:
Release Candidate for 2.068.0
http://downloads.dlang.org/pre-releases/2.x/2.068.0/
http://ftp.digitalmars.com/
We fixed the remaining issues.
https://github.com/D-Programming-Language/dmd/compare/v2.068.0-b2...v2.068.0-rc1
https://github.com/D-Programming-Language/druntime/compare/v2.068.0-b2...v2.068.0-rc1
https://github.com/D-Programming-Language/phobos/compare/v2.068.0-b2...v2.068.0-rc1
https://github.com/D-Programming-Language/installer/compare/v2.068.0-b2...v2.068.0-rc1
Unless any new issue pops up, we'll make the release on friday.
-Martin
The following code reduced from a D.learn post seems to be a bug. Is
that important enough to hold this release?
static if does not work although an is expression produces 'true':
import std.stdio;
auto foo(T)(T)
{
return 42;
}
struct Vector(T)
{
pragma(msg, is(typeof(foo(Vector.init)))); // prints true
static if(is(typeof(foo(Vector.init)))) {
static assert(false); // is not included
}
}
void main()
{
Vector!float v;
}
Ali