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

--- Comment #4 from anonymous4 <[email protected]> ---
I think it's usually used with int, in which case there will be no promotion.
Another thing I can think of is cast(ubyte)(short>>8) which would be a bit more
difficult to check that sign extension doesn't affect the result if we would
want to allow it.

--

Reply via email to