Closed masubious closed 7 months ago
Good Afternoon @masubious ,
I just pushed an update to this issue to the issue-551
branch. When you get a chance could you double check it on your end and let me know if the issue is resolved.
Just an FYI, there are three other issues associated with this issue: #551, #755, #998 and I will close this issue when all four issues are resolved.
Thanks,
--Jeremy
Morning @masubious ,
Just wanted to ping you on this issue to see if you had time to check it out.
Thanks,
--Jeremy
@jeremiah-c-leary Hey, sorry for the delayed response. I quickly tested it with the supplied example and it seems to be fine :). Thanks for fixing!
Afternoon @masubious ,
That is awesome. I will be merging this to master.
Regards,
--Jeremy
Environment VSG Version: VHDL Style Guide (VSG) version: 3.17.0+zip.file Python: 3.10.7 (tags/v3.10.7:6cc6b13, Sep 5 2022, 14:08:36) [MSC v.1933 64 bit (AMD64)]
Describe the bug When formating with a default Config, Rule Variable_011 touches charactes with the same name as a variable. This may lead to invalid Code. In the attached example line " WHEN 'C'|'c' =>" will become " WHEN 'c'|'c' =>" and thus listing the choice for 'c' twice, because there is a second function which contains the variable c.
To Reproduce vsg -f var_pkg --fix
Expected behavior Don't touch Charactes that look like Code.