Thread overview
[Issue 2314] New: Crash on anonymous class variable instantiation
Aug 26, 2008
d-bugmail
Sep 03, 2008
d-bugmail
Sep 03, 2008
d-bugmail
August 26, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2314

           Summary: Crash on anonymous class variable instantiation
           Product: D
           Version: 1.034
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: critical
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: benoit@tionex.de


module test;

class Timer {
    abstract class Task {
        public abstract void run();
    }
    private final Task IDLE = new class() Task {
        int d;
        public void run(){
        }
    };
}

void main(){}

I found that it crashes in DMD sources class.d line 483, while composing the error message.


-- 

September 03, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2314


bugzilla@digitalmars.com changed:

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




-- 

September 03, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2314





------- Comment #1 from bugzilla@digitalmars.com  2008-09-03 01:37 -------
Fixed dmd 1.035 and 2.019


--