www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 2314] New: Crash on anonymous class variable instantiation

reply d-bugmail puremagic.com writes:
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.


-- 
Aug 26 2008
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2314


bugzilla digitalmars.com changed:

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




-- 
Sep 02 2008
prev sibling parent d-bugmail puremagic.com writes:
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


-- 
Sep 02 2008