[fpc-devel] Procedural types returning file types

Sven Barth pascaldragon at googlemail.com
Fri Dec 18 14:53:14 CET 2020


Blaise--- via fpc-devel <fpc-devel at lists.freepascal.org> schrieb am Fr.,
18. Dez. 2020, 10:01:

> The patch http://hg.blaise.ru/public/fpc/rev/698389953e49 (attached)
> fixes the following:
> -------8<-------
> // EXPECTED: 'Error: Illegal function result type'
> // ACTUAL: gets compiled
> type M = function : file;
>
> begin
> end.
> -------8<-------
>

Applied in 47810 with the change of the def parameter of single_type in a
separate commit (47809). Thanks.

Regards,
Sven

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20201218/98dc4f00/attachment.htm>


More information about the fpc-devel mailing list