[fpc-pascal] Interface Inheritance Bug
Sven Barth
pascaldragon at googlemail.com
Sun Mar 19 19:20:07 CET 2017
Am 19.03.2017 17:55 schrieb "African Wild Dog" <paintedlycaon at gmail.com>:
>
> 2017-03-19 5:25 GMT-03:00 Sven Barth via fpc-pascal <
fpc-pascal at lists.freepascal.org>:
>>
>> 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 ;) ).
>
>
> With non-generic types there is a workaround: cast to parent interface:
>
> ...
>
> ParentImplementorInstance := TImplementor.Create as IParentInterface;
But without the cast you get the same error, yes?
Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20170319/5547317f/attachment.html>
More information about the fpc-pascal
mailing list