Compiler switch for integer comparison/promotion to catch a simple error

matheus matheus at gmail.com
Mon May 30 20:59:25 UTC 2022


On Monday, 30 May 2022 at 13:15:12 UTC, bauss wrote:
> Good luck convincing Walter that this is a mistake :)

I don't think this is a matter of convincing or changing the 
behavior, I think that a flag for this case (If not exist) should 
be added as a warning.

A language where some people use to spread the phrase "D as 
better C" should at least have this as flag/warning too.

Matheus.


More information about the Digitalmars-d-learn mailing list