You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SonarQube gives me an EmptyInterfaceRule code smell for a forward interface declaration.
Example:
type
IMyForwardIntf = interface; // <-- Sonar will mark this as EmptyInterfaceRule
IMyInterface = interfacefunctionFuncX: IMyForwardIntf;
end;
IMyForwardIntf = interface(IMyInterface)
...
end;
According to the Delphi documentation, forward declarations differs from full declarations like:
IMyFwrdIntfDecl = interface; // Forward Declaration
IMyFullIntfDecl = interfaceend; // Full Declaration
IMyFullIntfDecl = interface(IOtherIntf); // Full Declaration
The text was updated successfully, but these errors were encountered:
SonarQube gives me an EmptyInterfaceRule code smell for a forward interface declaration.
Example:
According to the Delphi documentation, forward declarations differs from full declarations like:
The text was updated successfully, but these errors were encountered: