[Issue 3935] opBinary is instantiated with "="

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Mar 12 13:50:37 PST 2010


http://d.puremagic.com/issues/show_bug.cgi?id=3935


Trass3r <mrmocool at gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |spec, wrong-code


--- Comment #2 from Trass3r <mrmocool at gmx.de> 2010-03-12 13:50:34 PST ---
found the cause:

if opAssign isn't present but opBinary is, opBinary is instantiated with "=".

This could probably be fixed by replacing opover.c:458 with

if (!s && !s_r && op != TOKequal && op != TOKnotequal && op != TOKassign)


The question is if opAssign is really meant to stay.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list