Le 15/08/2021 à 00:43, Dmitry Boyarintsev via fpc-pascal a écrit :
Why is interface implementation not inherited, if explicit
implementation is used.
I guess this is because you can implement an interface through
delegation too:
https://www.freepascal.org/docs-html/ref/refse48.html
type
Hello,
Why is interface implementation not inherited, if explicit implementation
is used.
Example.
Here are interfaces:
IAAA = interface
procedure MethodA;
end;
IBBB = interface(IAAA)
procedure MethodB;
end;
Interface IBBB inherits from IAAA
Here's an implicit interface