calling inherited in a function overriding an abstract function
Original Reporter info from Mantis: FPCCore
-
Reporter name: FPC core team
Original Reporter info from Mantis: FPCCore
- Reporter name: FPC core team
Description:
If a new function overrides an abstract function in the base class, calling inherited will cause an error instead of doing nothing.
Probably just nitpicking, but maybe it would be better to just make the inherited do nothing in the example program. Maybe not. Arguable :)
(delphi ignores the inherited so I just noticed now that it doesnt need to be there)
Additional information:
Reporter: Danny Milosavljevic
EMail: danny_milo at yahoo dot com
Mantis conversion info:
- Mantis ID: 5466
- OS: Linux
- Version: 1.9.4
- Fixed in version: 1.9.5