Skip to content
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

Bug in Norminette - Misleading Error Message for Comments After Enum Value Without Comma #517

Open
Ahmed-Galadi opened this issue Oct 29, 2024 · 0 comments

Comments

@Ahmed-Galadi
Copy link

Norminette generates a misleading error message when checking enum declarations that contain comments after a variable without a comma between the variable and the comment. This issue causes Norminette to flag a line far beyond the actual source of the error, which leads to confusion in debugging.

error error_out

norminette 3.3.55

when adding a comma in front of FALSE like "FALSE,//" or removing the comment it fixes the issue.
this is the solution:
solution
solution_out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant