[fpc-devel] Dangerous optimization in CASE..OF

Florian Klämpfl florian at freepascal.org
Sun Jul 2 22:02:05 CEST 2017


Am 02.07.2017 um 21:40 schrieb Martok:
> Honestly, I still don't understand why we're even having this discussion.

Because it is a fundamental question: if there is any defined behavior possible if a variable
contains an invalid value. I consider a value outside of the declared range as invalid, if it shall
be valid, change the declaration of the type.



More information about the fpc-devel mailing list