June 20, 2008
Walter Bright:
> http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.031.zip
> 
> http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.015.zip

Versions 1.030 and 1.031 have some problems that don't allow me to compile my code, but it's not easy for me to spot all the compilation-time problems. The first problem that stops the compilation can be reduced to the following, this works in 1.029:

template Foo(T) {
    const bool Foo = is(typeof(T.value));
}
void main() {
    class Bar { int value; }
    assert(!Foo!(typeof( new Bar )));
}

But in 1.030 and 1.031 gives:
Error: this for value needs to be type Bar not type int

Note that is a very reduced (and silly) example, but in my code I am not able to find a workaround yet, so I have to use 1.029 still.

Bye,
bearophile
June 20, 2008
bearophile wrote:
> Note that is a very reduced (and silly) example, but in my code I am
> not able to find a workaround yet, so I have to use 1.029 still.

Please post bug reports to bugzilla! That way they don't get lost.