Operator declaration

Adam D. Ruppe destructionator at gmail.com
Fri Apr 24 14:58:43 UTC 2026


On Friday, 24 April 2026 at 14:52:46 UTC, Nick Treleaven wrote:
> Can we make `i < 256` a compile-time error?

I imagine some value range propagation that reports if a 
comparison is always true or false is possible.

But making it an error is going to be similar to the unreachable 
code errors and be a huge pain sometimes. idk if worth.


More information about the Digitalmars-d-learn mailing list