StefanMaron / BusinessCentral.LinterCop

Community driven code linter for AL (MS Dynamics 365 Business Central)
https://stefanmaron.com
MIT License
75 stars 31 forks source link

Wrong warning LC0035 for Fields with Access Local/Protected #578

Closed pri-kise closed 4 months ago

pri-kise commented 6 months ago

Currenlty LC0035 is triggered event for fields defined with Access Local or Protected.

image

        field(30; "Client Secret Key"; Guid)
        {
            Access = Local;
            Caption = 'Client Secret ID';
            DataClassification = SystemMetaData;
        }

This shouldn't be the case, since those fields cannot be added to pages.

Arthurvdv commented 6 months ago

Thanks! This is indeed a good improvement for this rule and is resolved in the (pre)release version of v0.30.16 of the LinterCop.

Arthurvdv commented 5 months ago

Version v0.30.16 of the LinterCop is now released. Is it possible to verify of the issue is now resolved?