[Lazarus] inherited in autocode

Martok listbox at martoks-place.de
Sun Jan 13 00:47:15 CET 2019


Am 12.01.2019 um 23:45 schrieb Martin Frb via lazarus:
>>      inherited;                       // calls TObject.Create!
> because TObject has a matching constructor.

Indeed. But in Delphi, "inherited without function name" stops looking after one
mismatched argument list (just like override would), so it never gets to TObject.

FPC keeps going up the ancestor chain.

-- 
Regards,
Martok



More information about the lazarus mailing list