CodeAnalyzer - rule "AA0072" ignores triggers and event subscriber
hi,
AL Language v10.0.673593
the rule AA0072 does not regonize wrong named variables in the following objects and triggers:
for codeunits: EventSubscriber with local variables
for pages: "OnAction" , "OnDrillDown" , "OnLookup", " OnValidate", "OnAssistEdit" with local variables
for reports: "OnAfterGetRecord", "OnPreDataItem" with local variables
for tables: "OnValidate", "OnLookup" with local variables
for tableext: "OnValidate", "OnLookup" with local variables
for pageext: "OnAction" , "OnDrillDown" , "OnLookup", " OnValidate", "OnAssistEdit" with local variables
Yup, MS correctly stopped warning us about argument names, since we can't control those, but I suspect the fix is applied too broadly and also applies to local variables (maybe arguments and locals are considered the same) - but it must not be, please :)
Currently stumbled across the same issue in v12.5.914975 as I refactor my code. I found this ticket here on GitHub and wanted to ask what the current state on this is (as the ticket got last updated on 6th oct. 2022)? :/