www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 2129] New: foreach won't work with invariant limits

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2129

           Summary: foreach won't work with invariant limits
           Product: D
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: andrei metalanguage.com


This won't compile and should:

void main(string[] args)
{
    invariant uint x, y;
    foreach (i; x .. y) {}
}


-- 
May 24 2008
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2129


bugzilla digitalmars.com changed:

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




------- Comment #1 from bugzilla digitalmars.com  2008-06-22 18:57 -------
Fixed dmd 2.015


-- 
Jun 22 2008