AL icon indicating copy to clipboard operation
AL copied to clipboard

Rule AA0217 isn't firering in Latest AL Language Preview (v14.0.1108692 (pre-release))

Open pri-kise opened this issue 1 year ago • 0 comments

Please include the following with each issue:

1. Describe the bug The CodeCop AA0217

2. To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
if DimText = '' then
  DimText := StrSubstNo('%1 - %2', DimSetEntry."Dimension Code", DimSetEntry."Dimension Value Code") // Triggers in Old AL Language
else
  DimText := StrSubstNo('%1; %2 - %3', DimText, DimSetEntry."Dimension Code", DimSetEntry."Dimension Value Code");

3. Expected behavior The CodeCop AA0217 should trigger here like in older AL Language Versions.

4. Actual behavior Currently this CodeCop isn't working anymore for those cases.

5. Versions:

  • AL Language: v14.0.1108692 (pre-release)

pri-kise avatar Aug 21 '24 07:08 pri-kise