[dmd-beta] dmd 1.065 and 2.050 beta
Stephan Dilly
Dilly at funatics.de
Wed Oct 27 05:51:40 PDT 2010
> http://ftp.digitalmars.com/dmd1beta.zip
> http://ftp.digitalmars.com/dmd2beta.zip
1) the client still says it is version 2.049
2) there seems to be a regression with pure opCall methods introduced.
The following code used to build with dmd2049 but now does not:
struct Foo
{
static Foo opCall(in Foo _f) pure
{
return Foo;
}
}
instead the compiler issues the following error:
"Error: struct bug.Foo no size yet for forward reference"
the workaround would be to remove the pure but that is no option for my
codebase full of pure opCalls.
regards,
Stephan
More information about the dmd-beta
mailing list