<div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Blaise--- via fpc-devel <<a href="mailto:fpc-devel@lists.freepascal.org">fpc-devel@lists.freepascal.org</a>> schrieb am Fr., 18. Dez. 2020, 10:01:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The patch <a href="http://hg.blaise.ru/public/fpc/rev/698389953e49" rel="noreferrer noreferrer" target="_blank">http://hg.blaise.ru/public/fpc/rev/698389953e49</a> (attached) fixes the following:<br>
-------8<-------<br>
// EXPECTED: 'Error: Illegal function result type'<br>
// ACTUAL: gets compiled<br>
type M = function : file;<br>
<br>
begin<br>
end.<br>
-------8<-------<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Applied in 47810 with the change of the def parameter of single_type in a separate commit (47809). Thanks. </div><div dir="auto"><br></div><div dir="auto">Regards, </div><div dir="auto">Sven </div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></div></div>