digitalmars.D.bugs - [Issue 2949] New: array.length not an lvalue
- d-bugmail puremagic.com (17/17) May 07 2009 http://d.puremagic.com/issues/show_bug.cgi?id=2949
- d-bugmail puremagic.com (9/9) May 07 2009 http://d.puremagic.com/issues/show_bug.cgi?id=2949
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 *** This bug has been marked as a duplicate of 808 *** --
May 07 2009