[Issue 2314] New: Crash on anonymous class variable instantiation

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Aug 26 15:21:07 PDT 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 at digitalmars.com
        ReportedBy: benoit at 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.


-- 



More information about the Digitalmars-d-bugs mailing list