SomeClassInstanceThatImplementsFoo is a variable? variables should never be never allowed within <>, which only allow types and constants.
On Feb 3, 2026 at 9:16:28 PM, Michael Van Canneyt via fpc-devel < [email protected]> wrote: > > > 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 >
_______________________________________________ fpc-devel maillist - [email protected] https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
