Deprecate `!a == b`

Nick Treleaven nick at geany.org
Wed Aug 14 19:59:11 UTC 2024


On Wednesday, 14 August 2024 at 14:48:42 UTC, user1234 wrote:
> Well, just wanna say that this is an easy check to implement in 
> Dscanner. That does not require any context. Just match the 
> pattern in the AST and issue a warning.

That would error on `!bool == bool`, which is fine.


More information about the dip.ideas mailing list