[Issue 1969] ICE(cod1.c) using undefined operator with one const operand
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Jul 13 04:53:57 PDT 2009
http://d.puremagic.com/issues/show_bug.cgi?id=1969
Don <clugdbug at yahoo.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |patch
Severity|minor |normal
--- Comment #2 from Don <clugdbug at 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: -------
More information about the Digitalmars-d-bugs
mailing list