[fpc-devel] [Suggestion] Enumeration range-check intrinsic
J. Gareth Moreton
gareth at moreton-family.com
Mon Jul 8 17:19:54 CEST 2019
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
lazarus at kluug.net 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-
devel at lists.freepascal.org
> 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
>
More information about the fpc-devel
mailing list