Deprecate implicit conversion between signed and unsigned integers

Steven Schveighoffer schveiguy at gmail.com
Mon May 13 19:51:58 UTC 2024


I think yes, we should ban signed/unsigned conversions, but I 
also think implicit conversions when VRP has validated all the 
values are representable is fine (e.g. `ubyte` should implicitly 
convert to `short` or `int`). This should cut down on the false 
positives.

-Steve


More information about the dip.ideas mailing list