Thread overview
[Issue 1051] New: foreach over member array in static func causes ICE
Mar 11, 2007
d-bugmail
Mar 12, 2007
d-bugmail
Sep 24, 2007
d-bugmail
March 11, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1051

           Summary: foreach over member array in static func causes ICE
           Product: DGCC aka GDC
           Version: unspecified
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: minor
          Priority: P3
         Component: glue layer
        AssignedTo: dvdfrdmn@users.sf.net
        ReportedBy: default_357-line@yahoo.de


The following code (syntactically wrong) results first in an error, then in an ICE on MinGW/gdc 4.1.2/0.23

class errors {
  int[] t;
  static void crash() { foreach (x; t) {} }
}

void main() { }

Greetings --downs


-- 

March 12, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1051





------- Comment #1 from thomas-dloop@kuehne.cn  2007-03-12 00:29 -------
Added to DStress as http://dstress.kuehne.cn/nocompile/s/static_08_B.d http://dstress.kuehne.cn/nocompile/s/static_08_C.d


-- 

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


dvdfrdmn@users.sf.net changed:

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




------- Comment #2 from dvdfrdmn@users.sf.net  2007-09-23 21:56 -------
Fixed in svn rev 169 / release 0.25


--