Open JHertz5 opened 2 weeks ago
I'm planning to raise a PR to address this.
This would also resolve issue #1249.
Afternoon @JHertz5 ,
Could you add some nested functions and procedures to your function_508
and procedure_509
tests? It would ensure your implementation can handle names that are similar but formatted differently based on the hierarchy.
Thanks,
--Jeremy
Hi @jeremiah-c-leary.
Yes absolutely! Part of the reason that the PR is not ready yet is actually because I've realised that the current implementation does not handle nested subprograms. I'm hoping to find some time to get the PR completed in the coming week.
Thanks, Jukka
I've marked the PR as ready for review.
I've discovered another problem in the PR 🤦 I'll mark it as a draft until it's been corrected.
Is your feature request related to a problem? Please describe. At the moment (as of v3.27.0), there doesn't appear to be any rule to enforce case for formal parameters in functions or procedures. After looking for such rules, I tested for their presence as follows:
Config: Setting all case rules to "lower" and making sure that none are disabled.
Code: The parameter names of the function and procedure are in uppercase.
Output
Describe the solution you'd like I'd like to have rules that would enforce the case of formal parameters, e.g. changing the code above to: