<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2017-03-19 5:25 GMT-03:00 Sven Barth via fpc-pascal <span dir="ltr"><<a href="mailto:fpc-pascal@lists.freepascal.org" target="_blank">fpc-pascal@lists.freepascal.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-"><p></p>
</span><p>I think this will happen with non-generic interfaces as well. So please test with those and if possible also with 3.1.1 and report a bug if necessary (preferable with a non-generic example, makes things easier to debug ;) ).</p>
<p></p></blockquote><div><br></div></div>With non-generic types there is a workaround: cast to parent interface:<br><br>...<br><span style="font-family:monospace,monospace"><br>ParentImplementorInstance := <wbr>TImplementor.Create as </span><span style="font-family:monospace,monospace"><span style="font-family:monospace,monospace">IParentInterface</span>;<br><br>..<br><br></span><br></div><div class="gmail_extra"><br></div></div>