digitalmars.D.bugs - [Issue 5734] New: foreach on enum associative array
- d-bugmail puremagic.com (29/29) Mar 14 2011 http://d.puremagic.com/issues/show_bug.cgi?id=5734
- d-bugmail puremagic.com (12/12) Mar 14 2011 http://d.puremagic.com/issues/show_bug.cgi?id=5734
http://d.puremagic.com/issues/show_bug.cgi?id=5734 Summary: foreach on enum associative array Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: bearophile_hugs eml.cc --- Comment #0 from bearophile_hugs eml.cc 2011-03-14 10:49:50 PDT --- A problem found by Nebster. This D2 code: enum int[int] aa = [0: 1]; void main() { foreach (k; aa) {} foreach (k; aa.keys) {} foreach (k; aa.values) {} foreach (k; aa.byKey()) {} foreach (k; aa.byValue()) {} } DMD 2.052 gives: Internal error: e2ir.c 4835 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Mar 14 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5734 kennytm gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |kennytm gmail.com Resolution| |DUPLICATE --- Comment #1 from kennytm gmail.com 2011-03-14 16:33:10 PDT --- *** This issue has been marked as a duplicate of issue 5590 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Mar 14 2011