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
SingleArgumentDig false positive (*) #12284
Comments
What issues were encountered? |
@koic when I used autocorrect it corrected it to:
which is non-sense. I've updated the ticket description above. Thank you for your fast response as always 🙇♂️ |
Ah, I understand. This is clearly a bug. Thank you! |
Fixes rubocop#12284. This PR fixes false positives for `Style/SingleArgumentDig` when using some anonymous argument syntax.
…gle_argument_dig [Fix #12284] Fix false positives for `Style/SingleArgumentDig`
Using Rubocop 1.57.1 with Ruby 3.2 -- latest release of both at time of writing.
This was incorrectly autocorrected to:
Possibly PR #10576 fixed
...
case but not*
case, I'm not sure.The text was updated successfully, but these errors were encountered: