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


Don <clugd...@yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch
           Severity|minor                       |normal




--- Comment #2 from Don <clugd...@yahoo.com.au>  2009-07-13 04:53:56 PDT ---
/* Root cause: BinExp::typeCombine() is checking for an _exact_ match, but
typeMerge() will return success.

PATCH: cast.c BinExp::typeCombine().
Compare the immutable versions of the types, instead of the types themselves.

    if (op == TOKmin || op == TOKadd)
    {
    if (t1->ito == t2->ito && (t1->ty == Tstruct || t1->ty == Tclass))
     goto Lerror;
     }
*/

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

Reply via email to