> On Nov 8, 2021, at 11:20 PM, Sven Barth via fpc-pascal
> <[email protected]> wrote:
>
> I don't know what you mean with "new function body". If a function is inlined
> its code is contained within the surrounding function and if it's not inlined
> then nothing changes.
>
I mean if in theory you were to inline that function variables code into the
function it would need to generate a new function (I guess the name also, so
the entire thing) because the function being passed in could change on per-call
basis (like a normal generic function).
Regards,
Ryan Joseph
_______________________________________________
fpc-pascal maillist - [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal