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: bugzi...@digitalmars.com ReportedBy: ghaec...@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. --