Bug 2314 – Crash on anonymous class variable instantiation
Status
RESOLVED
Resolution
FIXED
Severity
critical
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Linux
Creation time
2008-08-26T17:21:00Z
Last change time
2014-03-01T00:36:52Z
Assigned to
bugzilla
Creator
benoit
Comments
Comment #0 by benoit — 2008-08-26T17:21:02Z
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.