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
Exception in Style/RedundantDoubleSplatHashBraces #12275
Labels
Comments
8 tasks
koic
added a commit
to koic/rubocop
that referenced
this issue
Oct 13, 2023
…latHashBraces` Fixes rubocop#12275. This PR fixes a false positive for `Style/RedundantDoubleSplatHashBraces` when using double splat within block argument containing a hash literal in an array literal.
bbatsov
pushed a commit
that referenced
this issue
Oct 14, 2023
Getting a crash on this cop
|
@mathieujobin Can you provide a repro code? |
|
8 tasks
I've opened #12326 to prevent the error. Thanks! |
koic
added a commit
to koic/rubocop
that referenced
this issue
Oct 31, 2023
Fixes rubocop#12275 (comment). This PR fixes an error for `Style/RedundantDoubleSplatHashBraces` when method call for parenthesized no hash double double splat.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A specific pattern in code breaks
Style/RedundantDoubleSplatHashBraces
. This is a minimal reproducible example (yes, this somewhat weird, and real production code was even more peculiar, but still):Expected behavior
At least no exception. And probably nothing reasonable to recommend here (at least by that cop).
Actual behavior
Steps to reproduce the problem
Just running Rubocop on a file containing the line above.
RuboCop version
The text was updated successfully, but these errors were encountered: