(code attached in next message)
$ dmd -unittest bug.d
Segmentation fault
Comment #1 by resume755 — 2008-12-22T10:15:07Z
Created attachment 284
dmd 2.022 segfault on this code
Comment #2 by resume755 — 2008-12-22T10:19:59Z
(thanks to maxter)
Error can be avoided by replacement of lines on:
enum isDynamicT = false;
alias typeof( this ) M;
enum width = width2;
enum height = height2;
enum length = width * height;
private Element[] data;
Comment #3 by braddr — 2009-01-08T21:57:48Z
Wait.. Does dmd still crash on the original code or not? ANY instance of dmd crashing is a bug, even if the input source can be changed to avoid it.
Comment #4 by resume755 — 2009-01-09T08:01:31Z
(In reply to comment #3)
> Wait.. Does dmd still crash on the original code or not? ANY instance of dmd
> crashing is a bug, even if the input source can be changed to avoid it.
>
No, in 2.023 this bug is fixed