Re: [fpc-pascal] Virtual methods on sealed classes

2024-01-08 Thread Michael Van Canneyt via fpc-pascal
On Tue, 9 Jan 2024, Hairy Pixels via fpc-pascal wrote: Do sealed classes actually call virtual methods statically or are they just for compiler warnings? The virtual methods are called exactly like other virtual methods. Sealed just means you cannot create a descendant class. No optimizat

[fpc-pascal] Virtual methods on sealed classes

2024-01-08 Thread Hairy Pixels via fpc-pascal
Do sealed classes actually call virtual methods statically or are they just for compiler warnings? Regards, Ryan Joseph ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal