Am 20.04.2018 um 21:35 schrieb Ondrej Pokorny:
> Sven (or anybody else), could you please comment on
> https://bugs.freepascal.org/view.php?id=33603 ? I feel I am getting crazy.
That bug became a textbook example of Cipolla's fourth law, sorry.
> From what I read, there seems to be a difference
Thorsten Engler schrieb am Sa., 21. Apr. 2018,
14:12:
> > -Original Message-
> > From: fpc-devel On Behalf Of
> > Martok
> > Sent: Saturday, 21 April 2018 21:39
> > To: fpc-devel@lists.freepascal.org
> > Subject: Re:
Alexander Grotewohl schrieb am Sa., 21. Apr. 2018, 16:40:
> To be honest I agree with what he's saying. We're bending enums to do
> things normal people just wouldn't (and shouldn't) do.
>
> And seriously, "Delphi, Delphi, Delphi!" .. why don't we strive for
> something a
To be honest I agree with what he's saying. We're bending enums to do
things normal people just wouldn't (and shouldn't) do.
And seriously, "Delphi, Delphi, Delphi!" .. why don't we strive for
something a little better and make the people porting from Delphi bend a
little this way than us
On 20/04/18 02:59, Dmitry Boyarintsev wrote:
The documentation: http://wiki.freepascal.org/FPC_PasCocoa
suggests to use compiler built-in function ObjCSelector.
I presume this turns the selector into a constant, thus has no impact on
the runtime.
However, how hard would it be to make the
> -Original Message-
> From: fpc-devel On Behalf Of
> Martok
> Sent: Saturday, 21 April 2018 21:39
> To: fpc-devel@lists.freepascal.org
> Subject: Re: [fpc-devel] Dangerous optimization in CASE..OF
>
> Am 20.04.2018 um 21:35 schrieb Ondrej Pokorny:
On 21.04.2018 13:38, Martok wrote:
Am 20.04.2018 um 21:35 schrieb Ondrej Pokorny:
Therefore I enabled the IS/AS operators on enums with holes only in Delphi mode
and disabled them in all other modes.
Please do not do this. The other modes are the only ones that really need it, in
Delphi mode,
Am 21.04.2018 um 16:40 schrieb Alexander Grotewohl:
> To be honest I agree with what he's saying. We're bending enums to do
> things normal people just wouldn't (and shouldn't) do.
No, we don't.
There are two semantically different sorts of enums: if you want an enum to
contain only the named