[Issue 5590] New: ICE when using .values on enum which is associative array
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Feb 15 02:29:24 PST 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5590
Summary: ICE when using .values on enum which is associative
array
Product: D
Version: unspecified
Platform: x86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: jmdavisProg at gmx.com
--- Comment #0 from Jonathan M Davis <jmdavisProg at gmx.com> 2011-02-15 02:26:28 PST ---
On dmd 2.051, this code
import std.path;
import std.range;
enum aa = [5 : "hello"];
void main(string[] args)
{
auto a = aa.values.front;
}
fails to compile, giving this error: Internal error: e2ir.c 4617
With the current beta, it gives: Internal error: e2ir.c 4835
This may or may not be a duplicate of bug# 4460. I don't know enough about the
compiler details to know for sure, but it does seem similar. It's definitely
not quite the same circumstances though, so I'm creating a new bug just in case
it is something separate.
--
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