May 07, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2949

           Summary: array.length not an lvalue
           Product: D
           Version: 2.029
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: ghaecker@idworld.net


int[] a = [1,2,3,4,5,6];
//a.length -= 3; // Error: a.length is not an lvalue.
a.length = 3;    // Ok, it is an lvalue.

It should work both ways.


-- 

May 07, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2949


dsimcha@yahoo.com changed:

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




------- Comment #1 from dsimcha@yahoo.com  2009-05-07 08:06 -------


*** This bug has been marked as a duplicate of 808 ***


--