-
-
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
Lint/RedundantSplatExpansion altering code in unsafe manner #9507
Labels
Comments
8 tasks
koic
added a commit
to koic/rubocop
that referenced
this issue
Feb 11, 2021
…platExpansion` Fixes rubocop#9507. This PR fixes an incorrect auto-correct for `Lint/RedundantSplatExpansion` when expanding `Array.new` call on method argument
bbatsov
pushed a commit
that referenced
this issue
Feb 11, 2021
Thanks. |
This was referenced Mar 6, 2021
Closed
This was referenced Mar 15, 2021
This was referenced Mar 15, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello. Thanks for your work on Rubocop.
I have an issue where
Lint/RedundantSplatExpansion
is incorrectly changing code.I can reproduce by pasting that code block into a file and seeing it change as it's linted.
RuboCop version
The text was updated successfully, but these errors were encountered: