Deprecate `!a == b`
IchorDev
zxinsworld at gmail.com
Sat Aug 17 12:24:52 UTC 2024
On Friday, 16 August 2024 at 19:23:19 UTC, Jonathan M Davis wrote:
> It wouldn't affect code that I would write, and if it fixed the
> occasional bug, then that's arguably a good thing. However, I
> definitely would rather not see this become an error for bool.
>
> - Jonathan M Davis
Problem is that a lot of C libraries use `alias LibSpecificBool =
int;`. Maybe we just need a nice way to make C programmers less
stu—I mean—to give integer type aliases bool semantics: `alias
@boolean LibSpecificBool = int;`
More information about the dip.ideas
mailing list