> 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
> 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
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
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
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
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?