Am 29.01.2024 um 21:56 schrieb Michael Van Canneyt via fpc-devel:
I didn't say I cannot think of a legitimate use. I said it does not make
sense to me, as in
"I don't understand what people try to accomplish with this modifier".
Unfortunately I still don't understand after your explanation what
> On Jan 30, 2024, at 8:53 PM, Michael Van Canneyt via fpc-devel
> wrote:
>
> 'yes I do' what exactly ?
>
> I thought I understood after your previous mail. Now I read your sentence as
> an argument for not having a "final" at all, so this is again confusing for
> me :/
I stepped in the mi
On Tue, 30 Jan 2024, Hairy Pixels via fpc-devel wrote:
On Jan 30, 2024, at 8:01 PM, Michael Van Canneyt via fpc-devel
wrote:
It's probably more correct to say that you don't want there to be an override
in a descendent class. Offhand I can't think of a use-case, but why not...
yes you
> On Jan 30, 2024, at 8:01 PM, Michael Van Canneyt via fpc-devel
> wrote:
>
> It's probably more correct to say that you don't want there to be an override
> in a descendent class. Offhand I can't think of a use-case, but why not...
yes you do, because the descendent doesn't know the class in
On Tue, 30 Jan 2024, Hairy Pixels via fpc-devel wrote:
On Jan 30, 2024, at 3:56 AM, Michael Van Canneyt via fpc-devel
wrote:
Unfortunately I still don't understand after your explanation what adding
'final' is supposed to accomplish. It may well be legitimate, but I have
currently no o
> On Jan 30, 2024, at 3:56 AM, Michael Van Canneyt via fpc-devel
> wrote:
>
> Unfortunately I still don't understand after your explanation what adding
> 'final' is supposed to accomplish. It may well be legitimate, but I have
> currently no opinion as I don't understand it.
Final means the
> On Jan 29, 2024, at 3:53 PM, Sven Barth via fpc-devel
> wrote:
>
> A person that overrides virtual methods does not always have control over
> whether the method had been declared as virtual. With "final" the user can
> tell the compiler that this method won't be overriden anymore and thus
On Mon, 29 Jan 2024, Sven Barth via fpc-devel wrote:
over whether the method had been declared as virtual.
Hm. That makes no sense at all to me ?
You normally add override only when you know the base class has virtual.
Otherwise, don't add virtual. The compiler will tell you if it was
pos
Am 29.01.2024 um 21:18 schrieb Michael Van Canneyt via fpc-devel:
On Mon, 29 Jan 2024, Sven Barth via fpc-devel wrote:
Am 28.01.2024 um 12:14 schrieb Michael Van Canneyt via fpc-devel:
2)
Is there, or has there once been?
(found in the synedit highlighter)
final
final comes after vir
On Mon, 29 Jan 2024, Sven Barth via fpc-devel wrote:
Am 28.01.2024 um 12:14 schrieb Michael Van Canneyt via fpc-devel:
2)
Is there, or has there once been?
(found in the synedit highlighter)
final
final comes after virtual/dynamic. Its supposed to stop you from
overriding
a method.
Am 28.01.2024 um 12:14 schrieb Michael Van Canneyt via fpc-devel:
2)
Is there, or has there once been?
(found in the synedit highlighter)
final
final comes after virtual/dynamic. Its supposed to stop you from
overriding
a method. Which is a bit strange because then you should not declar
Am 24.01.2024 um 23:29 schrieb Martin Frb via fpc-devel:
https://www.freepascal.org/docs-html/ref/refsu3.html
Is this list complete/correct?
1)
It lists bitpacked, but
program foo; var bitpacked: integer; begin end;
gives an error.
I thought modifiers can be used as var names?
"bitpack
On Wed, 24 Jan 2024, Martin Frb via fpc-devel wrote:
https://www.freepascal.org/docs-html/ref/refsu3.html
Is this list complete/correct?
1)
It lists bitpacked, but
program foo; var bitpacked: integer; begin end;
gives an error.
I thought modifiers can be used as var names?
Normally,
Note that for 1), it should be "end.", not "end;" - make sure that isn't
causing your error.
Subroutine directives like "vectorcall" I think are usable as variable
names.
Kit
On 24/01/2024 22:29, Martin Frb via fpc-devel wrote:
https://www.freepascal.org/docs-html/ref/refsu3.html
Is this l
https://www.freepascal.org/docs-html/ref/refsu3.html
Is this list complete/correct?
1)
It lists bitpacked, but
program foo; var bitpacked: integer; begin end;
gives an error.
I thought modifiers can be used as var names?
2)
Is there, or has there once been?
(found in the synedit highligh
15 matches
Mail list logo