Am 04.09.2022 um 22:05 schrieb Hairy Pixels:

On Sep 4, 2022, at 1:36 PM, Sven Barth <pascaldra...@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: https://gitlab.com/freepascal.org/fpc/source/-/issues/39810

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.

Regards,
Sven
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to