May 23, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2123

           Summary: Anonymous class crashes
           Product: D
           Version: 1.030
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: benoit@tionex.de


This test case crashes on 1.030 but not
on 1.029 and 1.028.

I had this mentioned in bug #2067, but it was silently closed, so it is perhaps better to do this into its own bug report.

module test;
extern(C) int printf(char*,...);

class I {
    public abstract void callI();
}

class C  {
    private int index;
    void test1(){
        printf( "ok\n" );
    }
    I test(){
        auto i = new class() I {
            public void callI() {
                test1();
            }
        };
        return i;
    }
}
void main () {
    auto c = new C;
    auto i = c.test();
    i.callI();
}


-- 

June 22, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2123


bugzilla@digitalmars.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Comment #1 from bugzilla@digitalmars.com  2008-06-22 18:56 -------
Fixed dmd 1.031 and 2.015


--