<p>Am 19.03.2017 17:55 schrieb "African Wild Dog" <<a href="mailto:paintedlycaon@gmail.com">paintedlycaon@gmail.com</a>>:<br>
><br>
> 2017-03-19 5:25 GMT-03:00 Sven Barth via fpc-pascal <<a href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a>>:<br>
>><br>
>> 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 ;) ).<br>
><br>
><br>
> With non-generic types there is a workaround: cast to parent interface:<br>
><br>
> ...<br>
><br>
> ParentImplementorInstance := TImplementor.Create as IParentInterface;</p>
<p>But without the cast you get the same error, yes?</p>
<p>Regards,<br>
Sven</p>