[Issue 17978] coercion from int to ubyte wrongly accepted

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Dec 18 05:25:21 UTC 2019


https://issues.dlang.org/show_bug.cgi?id=17978

Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #3 from Walter Bright <bugzilla at digitalmars.com> ---
It's not an error because, by the magic of VRP (Value Range Propagation) no
bits are lost.

--


More information about the Digitalmars-d-bugs mailing list