org.sonar.l10n.delphi.rules.community-delphi.ExplicitTObjectInheritance.html Maven / Gradle / Ivy
Why is this an issue?
A class without a parent implicitly inherits from TObject. In these cases, it is recommended to
explicitly inherit from TObject for readability.
How to fix it
Specify TObject
as the class's ancestor:
type
TMyClass = class
// ...
end;
type
TMyClass = class(TObject)
// ...
end;
Resources
© 2015 - 2024 Weber Informatics LLC | Privacy Policy