Bug 2854 – Empty struct constructor in const causes crash

Status
RESOLVED
Resolution
FIXED
Severity
critical
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Windows
Creation time
2009-04-18T19:08:00Z
Last change time
2014-04-18T09:12:07Z
Keywords
ice-on-valid-code
Assigned to
nobody
Creator
d294934

Comments

Comment #0 by d294934 — 2009-04-18T19:08:49Z
struct Array { const Array Empty = Array(); int[] numbers = [0, 1, 2]; }
Comment #1 by clugdbug — 2010-01-15T06:51:11Z
Fixed DMD1.053.