LL061
Missing inherited Create
Object Pascal — Delphi & Free Pascal
Warning
Reliability
Omitting inherited Create skips ancestor initialization and can corrupt object state
omitting inherited Create skips ancestor initialization and can corrupt object state.
Why this severity
omitting inherited Create skips ancestor initialization and can corrupt object state.
Known false positives
constructors that call inherited indirectly through a helper method.
Remediation example
constructor TMyClass.Create; begin inherited Create; FBuffer := TStringList.Create; end;