http://d.puremagic.com/issues/show_bug.cgi?id=3173
--- Comment #3 from Don <clugd...@yahoo.com.au> 2009-09-01 04:25:11 PDT --- Patch was incomplete, fails for the test case below. Need to also add this code to the end of CastExp::getIntRange() + if (type->isintegral()) { ir.imin &= type->sizemask(); ir.imax &= type->sizemask(); + } return ir; } ==== Test case: ubyte b = 6; short c5 = cast(int)(b + 6.1); ==== This is arguably an ice-on-valid-code. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------