http://d.puremagic.com/issues/show_bug.cgi?id=4460

           Summary: (2.047) Internal error when compiling foreach over
                    associative array literal
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: Windows
            Status: NEW
          Severity: major
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: e...@atari8.info


--- Comment #0 from Adrian Matoga <e...@atari8.info> 2010-07-14 12:11:41 PDT ---
import std.stdio;

void main()
{
    foreach (s, i; [ "a":1, "b":2 ])
    {
        writeln(s, i);
    }
}

The above does not compile. DMD 2.047 gives up with message "Internal error:
e2ir.c 4616".

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to