Re: [fpc-pascal] compiler last sources Internal error on code including generic and anonymous function

2023-03-27 Thread Sven Barth via fpc-pascal
Tomáš Horák via fpc-pascal  schrieb am
So., 26. März 2023, 20:36:

>
> 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.
>

In general an internal error is always worth a bug report, but in this
specific case it's already been reported.

Regards,
Sven

>
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


[fpc-pascal] compiler last sources Internal error on code including generic and anonymous function

2023-03-26 Thread Tomáš Horák via fpc-pascal
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


compproblem.lpr
Description: Binary data
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal