[Issue 1977] Relax warnings for implicit narrowing conversions caused by promotions

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Aug 5 06:11:48 PDT 2009


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


Jason House <jason.james.house at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jason.james.house at gmail.com




--- Comment #20 from Jason House <jason.james.house at gmail.com>  2009-08-05 06:11:47 PDT ---
Here's a related issue:

long a;
...
int b = a % 1000;

The sample above gives an error that it can't implicitly convert to int, even
though this us exactly the kind of thing implicit narrowing conversions should
handle.

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