Re: [fpc-pascal] Explicit Interface implementation and inheritance

2021-08-14 Thread Jean SUZINEAU via fpc-pascal
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   

[fpc-pascal] Explicit Interface implementation and inheritance

2021-08-14 Thread Dmitry Boyarintsev via fpc-pascal
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