DMD 1.026 and 2.010 releases

Extrawurst spam at extrawurst.org
Sun Jan 20 15:42:54 PST 2008


ohh what a great day for const, #1319 was in top ten for me ;). thanks 
for this release!

but what happened to scoped interfaces:
[CODE]

interface IFoo {
}

class Foo : IFoo {}

IFoo getaFoo(){
    return new Foo();
}

void main() {
    scope auto a = getaFoo();
}

[/CODE]

this is illegal since 2.010. how can i do such a thing from now on ?


Walter Bright schrieb:
> bug fixing
>
> http://www.digitalmars.com/d/1.0/changelog.html
> http://ftp.digitalmars.com/dmd.1.026.zip
>
> http://www.digitalmars.com/d/changelog.html
> http://ftp.digitalmars.com/dmd.2.010.zip


More information about the Digitalmars-d-announce mailing list