-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Change the meaning of code after correct by Style/RedundantParentheses #2904
Comments
Looks like things have changed in 2.4.0! |
I haven't looked at the MRI commit history to find where this change was introduced, but in the absence of further information, it appears more like a bug in Ruby 2.4.0 than anything else. |
I get the same result with all ruby versions I've tried. |
Thanks for pointing this out, @jonas054. I was wrong. |
I've got a fix, will open a PR shortly. |
Expected behavior
Actual behavior
RuboCop version
Include the output of
rubocop -V
:The text was updated successfully, but these errors were encountered: