D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 4990 - ICE(e2ir.c 4629) when trying to foreach over a compile time assoc array
Summary: ICE(e2ir.c 4629) when trying to foreach over a compile time assoc array
Status: RESOLVED DUPLICATE of issue 4460
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: x86_64 Linux
: P2 normal
Assignee: No Owner
URL:
Keywords: ice-on-invalid-code
Depends on:
Blocks:
 
Reported: 2010-10-04 12:12 UTC by Juanjo Alvarez
Modified: 2010-11-22 01:57 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Juanjo Alvarez 2010-10-04 12:12:43 UTC
Minimal test case, using DMD 2.0.49 on Linux (32 bits compiler on a 64 bits machine & OS):

enum dict = ["key1": "value1"];

void main() {
    foreach(key, value; dict) {}
}
Comment 1 Don 2010-11-22 01:57:08 UTC

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