Bug 1803 – Stack overflow on manifest constant of struct within struct

Status
RESOLVED
Resolution
DUPLICATE
Severity
critical
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2008-01-24T06:26:00Z
Last change time
2015-06-09T01:14:30Z
Assigned to
bugzilla
Creator
sardonicpresence

Comments

Comment #0 by sardonicpresence — 2008-01-24T06:26:21Z
The following code results in a Stack overflow in 2.0.10 under Windows: public struct Overflow { enum Overflow constant = {}; } Works fine for classes. Adding member fields to struct and initialiser doesn't change the crash.
Comment #1 by gide — 2008-01-26T10:38:21Z
*** This bug has been marked as a duplicate of 1800 ***