[fpc-devel] [Patch/RFC] Warnings for (in/over)complete case statements

Michael Van Canneyt michael at freepascal.org
Wed Jan 2 18:54:44 CET 2019



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.



More information about the fpc-devel mailing list