On Wed, 2 Jan 2019, Martok wrote:

Am 02.01.2019 um 17:56 schrieb Michael Van Canneyt:
The compiler can prove that since the methods are private.
It can see no explicit calls are generated for it.

I thought so too, but even with added explicit calls, there is no warning.
Plus, it could only reason for this class if it was strict private, otherwise,
anyone in this module could access it.

When I said 'it can', I meant this is theoretically possible. I didn't mean to imply it actually does.

Michael.
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to