On 03/02/2026 15:37, Hairy Pixels via fpc-devel wrote:
SomeClassInstanceThatImplementsFoo is a variable? variables should never be never allowed within <>, which only allow types and constants.
Ah, sorry, copy and paste.

Its a var for the function call.

The specrialize should have read
     specialize MyGen<Some__Class__ThatImplementsFoo>

So I have a constrained that wants an interface, but I can specialize with a class.

_______________________________________________
fpc-devel maillist  -  [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to