Background is that I then wanted (in my case via a generic) wanted code that can perform actions on the base-interface.

But would be specialized with the concrete interface, so if an instance of the interface (the one retrieved as result) is passed around, it as the more specific class.


Otherwise, I have to write the generic without type constraints....
_______________________________________________
fpc-devel maillist  -  [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to