plsql:PositionalAndNamedArgumentMixCheck does not work with functions

Hi,

I’ve noticed that rule plsql:PositionalAndNamedArgumentMixCheck does not show issues for functions:

create or replace package body Test is

    procedure testProcedure is
        isEqual boolean;
    begin
        isEqual := subFunction(10, op2 => 2);
    end testProcedure;

    function subFunction(op1 in pls_integer, op2 in pls_integer) return boolean is
    begin
        return op1 = op2;
    end;

end Test;
/

In this case I would expect an issue in line 6.

Language: PL/SQL
SQ version: 10.6

Could you please take a look at this?

Thanks!

Karl

Hey there,

You are absolutely right, this is a known issue.
You can track the progress on this ticket, where it will be picked up during an upcoming hardening in the near future.

Thanks for the suggestion!