[Issue 4314] Expression array1 && array2 doesn't compile

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jun 23 00:14:52 PDT 2010


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


Don <clugdbug at yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch
                 CC|                            |clugdbug at yahoo.com.au


--- Comment #1 from Don <clugdbug at yahoo.com.au> 2010-06-23 00:14:49 PDT ---
This one is trivial.
PATCH:
e2ir.c, BinExp::toElemBin(), line 2000.
----------

    if ((tb1->ty == Tarray || tb1->ty == Tsarray) &&
        (tb2->ty == Tarray || tb2->ty == Tsarray) &&
-        op != OPeq
+        op != OPeq && op != OPandand && op != OPoror
       )
    {
        error("Array operation %s not implemented", toChars());
        return el_long(type->totym(), 0);  // error recovery
    }

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