digitalmars.dip.ideas - Deprecate implicit conversion between signed and unsigned integers
- Atila Neves (4/10) Mar 24 https://forum.dlang.org/post/xwoyfuhotvgapjmcribk@forum.dlang.org
https://forum.dlang.org/post/xwoyfuhotvgapjmcribk forum.dlang.org On Monday, 13 May 2024 at 19:51:58 UTC, Steven Schveighoffer wrote: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. -SteveI like this.
Mar 24