[fpc-pascal] Arguments gets corrupted with anonymous nested function

Sven Barth pascaldragon at googlemail.com
Tue Sep 6 08:04:14 CEST 2022

Am 04.09.2022 um 22:05 schrieb Hairy Pixels:
>> On Sep 4, 2022, at 1:36 PM, Sven Barth <pascaldragon at googlemail.com> wrote:
>> Does this also happen if you don't use a class? Otherwise it might be related with the other error you already reported. But report this anyway, I'll simply mark it as duplicate if necessary...
> I only reproduced using a class with generics. I already reported this? Looking at GitLab now and I don’t see which one it may be.
I was thinking about this one: 

Cause in that case the compiler inserts a Self parameter where it 
shouldn't and it's likely that it does the same in the case you 
presented here.


More information about the fpc-pascal mailing list