<html><body><div dir="ltr">
SomeClassInstanceThatImplementsFoo is a variable? variables should never be never allowed within <>, which only allow types and constants.<br>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Feb 3, 2026 at 9:16:28 PM, Michael Van Canneyt via fpc-devel <<a href="mailto:fpc-devel@lists.freepascal.org">fpc-devel@lists.freepascal.org</a>> wrote:<br></div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" type="cite">
<div>
<div>
<br><br>On Tue, 3 Feb 2026, Martin Frb via fpc-devel wrote:<br><br><blockquote type="cite"> ok, so if I have<br></blockquote><blockquote type="cite"> procedure bar(f: IntfFoo);<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"> I can do<br></blockquote><blockquote type="cite"> bar(SomeClassInstanceThatImplementsFoo);<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"> makes sense, the interface can be gotten at the time of calling.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"> Now if I have<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"> generic MyGen< P: IntfFoo ><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"> then I can also do<br></blockquote><blockquote type="cite"> specialize MyGen<SomeClassInstanceThatImplementsFoo><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"> is that indented?<br></blockquote><br>I don't think so. Sounds like a bug ?<br><br>Michael.
</div>
</div>
<div>
<div>
_______________________________________________<br>fpc-devel maillist - <a href="mailto:fpc-devel@lists.freepascal.org">fpc-devel@lists.freepascal.org</a><br><a href="https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel">https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel</a><br>
</div>
</div>
</blockquote>
</div></body></html>