On Tue, 3 Feb 2026, Martin Frb via fpc-devel wrote:

ok, so if I have
   procedure bar(f: IntfFoo);

I can do
   bar(SomeClassInstanceThatImplementsFoo);

makes sense, the interface can be gotten at the time of calling.

Now if I have

  generic MyGen<    P: IntfFoo >

then I can also do
  specialize MyGen<SomeClassInstanceThatImplementsFoo>

is that indented?

I don't think so. Sounds like a bug ?

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

Reply via email to