> On Feb 2, 2020, at 3:23 PM, Sven Barth via fpc-pascal
> <[email protected]> wrote:
>
> As I had explained in the other thread some months ago interfaces in Object
> Pascal mean literally that the type can be cast to the specified interfaces.
> Parent interfaces are *not* part of this. If you want this you need to first
> cast the class to IClassName2, then the "interface inheritance" mechanism can
> take over.
>
Hmm, isn't that inconsistent given how classes work? if TClassName implements
IClassName2 then doesn't it also implement IClassName1 by definition?
Regards,
Ryan Joseph
_______________________________________________
fpc-pascal maillist - [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal