www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 421] New: 'not a lvalue' crashes DMD

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

           Summary: 'not a lvalue' crashes DMD
           Product: D
           Version: 0.169
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: ddparnell bigpond.com


void main() {
     int i;
     int j;
     (j=i)++;
}

This compiles with the error message ...

"test.d(4): (j) = (i) is not an lvalue" 

and then crashes DMD.


-- 
Oct 09 2006
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=421


ddparnell bigpond.com changed:

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





Sorry, should have check for existing bug notes first.

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


-- 
Oct 09 2006