[Issue 3668] New: foreach over typedef'd array crashes dmd
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Jan 3 15:00:14 PST 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3668
Summary: foreach over typedef'd array crashes dmd
Product: D
Version: 2.032
Platform: Other
OS/Version: Windows
Status: NEW
Keywords: ice-on-valid-code
Severity: regression
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: spam at extrawurst.org
--- Comment #0 from Stephan Dilly <spam at extrawurst.org> 2010-01-03 15:00:13 PST ---
This code used to work up to version 2.031 without problems, since 2.032 it
manages to crash dmd.
[CODE]
typedef byte[] Foo;
Foo bar;
foreach(value; bar){}
[/CODE]
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list