[Issue 259] Comparing signed to unsigned does not generate an error
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Jun 21 21:14:38 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=259
--- Comment #72 from Stewart Gordon <smjg at iname.com> ---
(In reply to thomas.bockman from comment #71)
> The real problem is that the current strange behaviour of mixed comparisons
> is occasionally deliberately used in correct code. D must not be updated in
> a way that silently breaks all that pre-existing correct code. Hence, a
> warning (or at least, a *long* deprecation period) is the only good option
> for D2.
I don't understand. How can code that the spec explicitly forbids possibly be
correct?
--
More information about the Digitalmars-d-bugs
mailing list