D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 7792 - DMD crashes when local enum array containing undefined
Summary: DMD crashes when local enum array containing undefined
Status: RESOLVED DUPLICATE of issue 7906
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: x86 Windows
: P2 normal
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-28 22:48 UTC by kekeniro2
Modified: 2012-04-23 10:45 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description kekeniro2 2012-03-28 22:48:47 UTC
void main() {
	enum a = [ UNDEFINED ];
}

DMD crushes after compile error message.

D1 does not crush. D2.053 or earlier doesn't, either.


Environment:
Windows XP SP3 32bit
D2.058
Comment 1 kekeniro2 2012-04-23 10:28:16 UTC
This seems to be fixed in DMD 2.060 head. ( 2.059 still reproduces it. )

Did someone fix it?
Comment 2 Kenji Hara 2012-04-23 10:45:35 UTC

*** This issue has been marked as a duplicate of issue 7906 ***