[Issue 1977] Relax warnings (D1)/errors (D2) for implicit narrowing conversions caused by promotions

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Oct 13 09:23:44 PDT 2012


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



--- Comment #28 from Ryuichi OHORI <r.97all at gmail.com> 2012-10-13 09:23:44 PDT ---
(In reply to comment #27)
> reassigned to x because the result is only 4, which fits in a ushort just fine.
The result is 16777220 if both operands are int.  I think this is an implicit
narrowing conversion.

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