[fpc-pascal] compiler last sources Internal error on code including generic and anonymous function
Tomáš Horák
kopaka4 at gmail.com
Sun Mar 26 20:36:21 CEST 2023
Hello, from time to time I recompile fpc and lazarus from latest sources.
After today's recompilation compiler cannot translate construction, what
was possible to translate couple of months ago(linux 64b). Compiler gives
internal error 2011010304 on line 96. When there is not assignment to
Result in anonymous function, it compiles just fine. Did I miss something
or is it worth report bug? Attached file is just an example to simulate the
problem.
regards, Tomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20230326/96e456c6/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: compproblem.lpr
Type: application/octet-stream
Size: 1765 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20230326/96e456c6/attachment.obj>
More information about the fpc-pascal
mailing list