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

Martok listbox at martoks-place.de
Fri Jul 14 11:50:08 CEST 2017


Am 14.07.2017 um 10:04 schrieb Marco van de Voort:
> In our previous episode, Martok said:
>> There is a fundamental difference in the type system between a somewhat sensible
>> (if unexpected) assumption in FPC and a more practical documented definition in
>> every other Pascal compiler. An assumption that even FPC follows only in this
>> one single spot.
>> This is unexpected and breaks unrelated code. That's the problem.
> 
> Other pascal's don't have sparse enums ?

Wait, what do sparse enums have to do with any of that?

But: yes, they do.



More information about the fpc-devel mailing list