September 02, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1468

           Summary: A bug about stack overflow.
           Product: D
           Version: 2.003
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: critical
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: colorful1982@hotmail.com


Hi.
I found a bug.
Here is the code sample:

import std.stdio;
void main()
{
    int[10] arrayA = [0,1,2,3,4,5,6,7,8,9];
    foreach(int i; arrayA)
    {
        writefln(i);
    }
}

It throws a stack overflow exception.
I think it's a bug about static array.


-- 

September 29, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1468


bugzilla@digitalmars.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Comment #1 from bugzilla@digitalmars.com  2007-09-28 22:17 -------
Fixed dmd 2.004


--