[fpc-pascal] destructor

Maciej Izak hnb.code at gmail.com
Tue Jan 24 15:33:30 CET 2017

2017-01-24 12:48 GMT+01:00 Mattias Gaertner <nc-gaertnma at netcologne.de>:

> fpc allows to declare a method with the destructor keyword, that is
> not a real destructor, because it does not free the memory. For what is
> this feature good for?

with trunk works as expected (Foo does call FreeInstance).

Best regards,
Maciej Izak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20170124/4613c57f/attachment.html>

More information about the fpc-pascal mailing list