Deprecate implicit conversion between signed and unsigned integers

Dom DiSc dominikus at scherkl.de
Tue May 14 06:59:16 UTC 2024


On Sunday, 12 May 2024 at 20:20:10 UTC, Nick Treleaven wrote:
> What about comparisons between incompatible signed and 
> unsigned, deprecate too?

We have a working solution that always returns the correct result 
(see https://issues.dlang.org/show_bug.cgi?id=259). I never 
understood why anyone would rely on a wrong comparison result, so 
this should not be considered a breaking change.


More information about the dip.ideas mailing list