[Issue 3935] opBinary is instantiated with "="

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jul 28 06:41:57 PDT 2010


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


Trass3r <mrmocool at gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch


--- Comment #3 from Trass3r <mrmocool at gmx.de> 2010-07-28 06:41:55 PDT ---
Sorry, just giving one line isn't good practice, so:

===================================================================
--- opover.c    (revision 589)
+++ opover.c    (working copy)
@@ -474,7 +474,7 @@

     Objects *targsi = NULL;
 #if DMDV2
-    if (!s && !s_r && op != TOKequal && op != TOKnotequal)
+    if (!s && !s_r && op != TOKequal && op != TOKnotequal && op != TOKassign)
     {   /* Try the new D2 scheme, opBinary and opBinaryRight
          */
         if (ad1)

-- 
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