I disabled it after Pierre pointed out that you couldn't use Pred or Succ with them, so wanted to be consistent, especially as programming them to return the expected value of False of a value falls within a hole is not simple. Still, it's easy enough to re-enable.
Gareth aka. Kit On Mon 08/07/19 12:51 , Ondrej Pokorny [email protected] sent: > On 08.07.2019 02:37, J. Gareth Moreton wrote: > > Uploaded the latest patch (AS-IS-enum- 07.patch) over here [1] and also a > test project that evaluates the "is" operator between different ordinal > types. > > I though I convinced you not to disable the feature on enums with holes > even in OBJFPC mode... > > Ondrej > > __________________________________________ _____ > fpc-devel maillist - fpc- [email protected] > https://lists.freepascal.org/cgi- bin/mailman/listinfo/fpc-devel [2] > > > > Links: > ------ > [1] https://bugs.freepascal.org/view.php? id=33603 > [2] > http://secureweb.fast.net.uk/parse.php? redirect=https://lists.freepascal.or > g/cgi-bin/mailman/listinfo/fpc-devel > _______________________________________________ fpc-devel maillist - [email protected] https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
