[fpc-pascal] Get TMethod from function reference

Hairy Pixels genericptr at gmail.com
Fri Sep 9 00:49:58 CEST 2022



> On Sep 8, 2022, at 11:14 AM, Michael Van Canneyt via fpc-pascal <fpc-pascal at lists.freepascal.org> wrote:
> 
> It must keep this information somewhere, but this does not mean you can typecast it to a TMethod.

Indeed. I wonder if this information could be exposed by some method in the interface? It would be useful to introspect the target class like you can do with “of object”.

Regards,
	Ryan Joseph



More information about the fpc-pascal mailing list