[fpc-devel] Question on interface inheritance...

Mattias Gaertner nc-gaertnma at netcologne.de
Sun Feb 1 15:44:44 CET 2026



On 2/1/26 15:29, Martin Frb via fpc-devel wrote:
>[...]
>    TIntfBarBase = interface
>      function GetFoo: TIntfFooBase;
>    end;
>    TIntfBar = interface(TIntfBarBase)
>      function GetFoo: TIntfFoo; reintroduce;

reintroduce is not allowed in Delphi and should not in fpc neither.

Mattias



More information about the fpc-devel mailing list