Bug 1226 – ICE on a struct literal of a struct containing a struct

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
All
OS
All
Creation time
2007-05-10T13:40:00Z
Last change time
2014-02-16T15:26:20Z
Keywords
ice-on-valid-code
Assigned to
bugzilla
Creator
onlystupidspamhere

Comments

Comment #0 by onlystupidspamhere — 2007-05-10T13:40:35Z
The following code crashes DMD: struct A {} struct B(L) { A l; } void main() { A a; auto b = B!(A)(a); }
Comment #1 by matti.niemenmaa+dbugzilla — 2007-05-31T10:20:19Z
Simplified case: struct A {} struct B { A a; } void main() { B b = B(); }
Comment #2 by onlystupidspamhere — 2007-06-06T06:13:28Z
Fixed in DMD 1.015.