[Issue 13387] Bug with arithmetic opertions on integer types smaller than int
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Thu Aug 28 23:59:14 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=13387
bearophile_hugs at eml.cc changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bearophile_hugs at eml.cc
--- Comment #2 from bearophile_hugs at eml.cc ---
(In reply to Uranuz from comment #1)
> So it's strange that we have such type of problem in D.
It's a "problem" introduced on purposes in D.
Regarding byte+byte=int it's done like this in D to follow the C rules. I think
it's hard to change this.
--
More information about the Digitalmars-d-bugs
mailing list