D.gnu - [Issue 659] New: unclear error message
- d-bugmail puremagic.com (28/28) Dec 06 2006 http://d.puremagic.com/issues/show_bug.cgi?id=659
http://d.puremagic.com/issues/show_bug.cgi?id=659 Summary: unclear error message Product: GDC Version: unspecified Platform: Macintosh OS/Version: Mac OS X Status: NEW Severity: normal Priority: P2 Component: glue layer AssignedTo: dvdfrdmn users.sf.net ReportedBy: csantander619 gmail.com This code gives an unclear error message: //---------------- struct A { int [10] arr; } void main () { A a; a.arr.length = 20; } //---------------- $ gdmd test.d test.d:9: Error: constant (*(&(a) + 0)).length is not an lvalue //---------------- --
Dec 06 2006