-
Notifications
You must be signed in to change notification settings - Fork 26
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Prerequisites
- This bug is in SonarDelphi, not SonarQube or my Delphi code.
- This bug has not already been reported.
SonarDelphi version
1.6.0
SonarQube version
No response
Issue description
Running analysis with DelphiLint 1.1.1 in Standalone mode, an error is raised when the code contains a method call with the varargs directive.

Steps to reproduce
Analyze the file with the minimal Delphi code joined to this issue.
Minimal Delphi code exhibiting the issue
unit Unit1;
interface
procedure MyProcedure;
var
SetValues: procedure(AValues: Integer); cdecl varargs;
implementation
procedure MyProcedure;
var
LValue: Integer;
begin
LValue := 1;
SetValues(LValue, LValue);
end;
end.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working