BusinessCentral.LinterCop icon indicating copy to clipboard operation
BusinessCentral.LinterCop copied to clipboard

LC0068 not triggering without record variable

Open jwikman opened this issue 1 month ago • 0 comments

LC0068 does not fire inside table code that does not use record variables.

Repro: Add below code to a table:

    procedure MyProcedure()
    begin
        Rec.Modify(); // <-- This do trigger LC0068
        Modify(); // <-- This do NOT trigger LC0068
        this.Modify(); // <-- This do NOT trigger LC0068
    end;

jwikman avatar Jan 28 '25 08:01 jwikman