-
Notifications
You must be signed in to change notification settings - Fork 4
Hash value ommission from Ruby-3.1 #15
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
Comments
Updating ruby_parser may do the trick |
Thanks @mlinderman, I'm glad to hear that! 😃 |
Hey @fonji ! A new version of |
That's awesome! Thanks @dantevvp ❤️ |
Thanks for the shoutout in the changelog! 💕 |
Hey @fonji ! Are you having issues when using the CLI? Or is it when analysing PRs on Github? If it's the latter, there might have been a delay in the update. Try running your analyses again and if any other issues arise let me know! |
Oh you're right! It was when analysing PRs on Github, I pushed again just now and got my issues back. |
Hash value omission was introduced with ruby 3.1 - rubyreferences.github.io/rubychanges/3.1.html#values-in-hash-literals-and-keyword-arguments-can-be-omitted
And apparently it breaks flog:
example.rb
content:This is also happens to the duplication engine (codeclimate/codeclimate-duplication#375)
Thanks
The text was updated successfully, but these errors were encountered: