-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VAR_INVALID_NAME false positive with number-suffixed names #532
Comments
Does :id2 dereference id2 automatically? |
That is just concatenating a string literal, but that would be beside the point. The issue is simply that variable names like the example above or |
Thanks @KamasamaK , I agree, i was just curios, since that code will also trigger a var unused message. |
This has been a 'feature' almost since the beginning. I had to disable or change almost a dozen tests after I fixed this one. :) However, I agree that ending a number should not be considered invalid naming. |
Thanks @ryaneberly for the quick turnaround 😄 |
[INFO]: [cflint] VAR_INVALID_NAME: Variable id2 is not a valid name. Please use camelCase or underscores.
Using CFLint v1.3.0.
The text was updated successfully, but these errors were encountered: