September 03, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3289

           Summary: ICE (..\ztc\cod4.c) when using a delegate inside a
                    foreach
           Product: D
           Version: 2.031
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: 2korden@gmail.com


Minimal testcase to reproduce:

struct Foo
{
    int i;
}

void main()
{
    Foo[] array;
    foreach (ref foo; array) {
        auto x = () {
            foo.i = 42;
        };
    }
}

Internal error: ..\ztc\cod4.c 354

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
September 07, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3289


Don <clugdbug@yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |clugdbug@yahoo.com.au
         Resolution|                            |FIXED


--- Comment #1 from Don <clugdbug@yahoo.com.au> 2009-09-07 03:05:45 PDT ---
Fixed DMD2.032.

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