Replies: 1 comment 4 replies
-
@dannoe has created an new rule for this 🥳 |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The BaseApp is currently refactored in many areas and events are moved to new codeunits.
The Old events are called via new procedures.
Now it can happen that someone forgets to declare a variable by reference in the new procedure although the event passes the parameter by reference.
This can lead to problems like the following: http://github.com/microsoft/BCApps/issues/1268
I've created an idea (https://experience.dynamics.com/ideas/idea/?ideaid=fcc7cecb-5d29-ef11-8ee7-6045bdb88c35) that this is added to a CodeCop, but until the plattform adds such an check I think this could be useful to have it in the BCLinterCop.
Beta Was this translation helpful? Give feedback.
All reactions