Hairy Pixels via fpc-pascal <fpc-pascal@lists.freepascal.org> schrieb am
Fr., 9. Sep. 2022, 00:52:

> Curious more than anything, if is nested captures state in a record and
> passes it as an hidden self param, why does returning the variable and
> calling from outside the calling stack frame corrupt the data? It seems
> like it technically should be there.
>

How about you simply report such corruptions as bugs? I can always close
them as "not a bug" or duplicate if necessary.

Regards,
Sven

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

Reply via email to