SonarDelphi version
1.18.3
SonarQube version
No response
Issue description
The quickfix for this "Redundant inherited statement should be removed"
procedure TForm47.Button1Click(Sender: TObject);
begin
if Sender = Button1 then
begin
// do something
end
else
inherited;
end;
is
procedure TForm47.Button1Click(Sender: TObject);
begin
end;
Which seems a tad excessive.
Steps to reproduce
Just create a button event as in the description above.
Minimal Delphi code exhibiting the issue
No response
SonarDelphi version
1.18.3
SonarQube version
No response
Issue description
The quickfix for this "Redundant inherited statement should be removed"
is
Which seems a tad excessive.
Steps to reproduce
Just create a button event as in the description above.
Minimal Delphi code exhibiting the issue
No response