[fpc-devel] Optimization breaks check for overridden function / Is there a better way to check?

Zoë Peterson zoe at scootersoftware.com
Tue Oct 21 15:23:06 CEST 2025



On 10.20.2025 23:14, Sven Barth via fpc-devel wrote:
> Am 18.10.2025 um 22:39 schrieb Bart via fpc-devel:
>> Does that mena that such a check is in essence invalid?
>> IIRC then we have such a check in TCustomEdit in LCL....
> Well, the language does neither explicitly forbid nor allow it... 

It's presumably not affected since neither method is empty, but 
TStream.Seek(Offset: Longint; Origin: Word) is relying on this exact 
same sort of check.

-- 
Zoë Peterson
Scooter Software



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20251021/ecb210e4/attachment.htm>


More information about the fpc-devel mailing list