is this considered inconsistency?
Paul Backus
snarwin at gmail.com
Sun Mar 21 21:22:16 UTC 2021
On Sunday, 21 March 2021 at 17:01:27 UTC, mw wrote:
>> There's also a point to be made that the implicit conversion
>> from signed to unsigned integers should not be allowed, that's
>> a separate discussion.
>
> Indeed, this shouldn't be allowed, bite by this a number of
> times. Is there a DIP on this already?
There have been proposals to change the integer promotion rules
in the past, but they've been rejected because Walter wants to
keep them compatible with C, to make porting C code to D easier.
More information about the Digitalmars-d
mailing list