[Issue 1977] integral arithmetic operation only on int?

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Nov 20 19:10:52 PST 2008


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


smjg at iname.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |smjg at iname.com
           Keywords|                            |diagnostic




------- Comment #1 from smjg at iname.com  2008-11-20 21:10 -------
It's as documented.  Integral types smaller than int are automagically
converted to int when performing arithmetic on them.

But it is somewhat ridiculous that it should still throw the warning in such
cases as this.


-- 



More information about the Digitalmars-d-bugs mailing list