[fpc-devel] Visibility of overloaded ancestor method from a child class

Bart bartjunk64 at gmail.com
Fri Feb 7 17:54:43 CET 2025


On Fri, Feb 7, 2025 at 5:39 PM Bart <bartjunk64 at gmail.com> wrote:

> D7 refuses to compile this code (even with "overload"), but D7 is a
> little bit old...

Well, Delphi is a bit picky about the order: it must be "overload;
virual;" (I had "virual; overload;")
So, with that fixed, D7 compiles the code as well.


-- 
Bart


More information about the fpc-devel mailing list