2018-01-22 18:48 GMT+01:00 Mattias Gaertner :
> On Mon, 22 Jan 2018 18:45:57 +0100
> Maciej Izak wrote:
> > Correct. There was some topic about "static class methods" and "class
> > property" some time ago on fpc-devel or in fpc-pascal. For example
On Mon, 22 Jan 2018 18:45:57 +0100
Maciej Izak wrote:
> 2018-01-22 18:25 GMT+01:00 Denis Kozlov :
>
> > I presume then there is no way for having a class property who's returned
> > value can be dynamically changed in child classes? In other words, class
>
2018-01-22 18:25 GMT+01:00 Denis Kozlov :
> I presume then there is no way for having a class property who's returned
> value can be dynamically changed in child classes? In other words, class
> property getters/setters can only be implemented by the class that declared
> the
On 22/01/2018 17:09, Maciej Izak wrote:
This was bug, fixed in trunk (see my rev. 35724)
Thank you for pointing that out.
I presume then there is no way for having a class property who's
returned value can be dynamically changed in child classes? In other
words, class property
2018-01-22 18:00 GMT+01:00 Denis Kozlov :
> Can static class methods be virtual?
>
This was bug, fixed in trunk (see my rev. 35724)
--
Best regards,
Maciej Izak
___
fpc-devel maillist - fpc-devel@lists.freepascal.org
Hello,
Can static class methods be virtual?
According to the FPC documentation, static class methods cannot be
virtual, as stated here:
https://www.freepascal.org/docs-html/ref/refsu30.html
But in practice, FPC compiles and executes virtual and overridden static
class methods just fine.