Skip to content
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

Fix an error for Style/RedundantDoubleSplatHashBraces #12326

Conversation

koic
Copy link
Member

@koic koic commented Oct 31, 2023

Fixes #12275 (comment).

This PR fixes an error for Style/RedundantDoubleSplatHashBraces when method call for parenthesized no hash double double splat.


Before submitting the PR make sure the following are checked:

  • The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
  • Wrote good commit messages.
  • Commit message starts with [Fix #issue-number] (if the related issue exists).
  • Feature branch is up-to-date with master (if not - rebase it).
  • Squashed related commits together.
  • Added tests.
  • Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.
  • Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.

@koic koic force-pushed the fix_an_error_for_style_redundant_double_splat_hash_braces branch from 521674c to 3aec751 Compare October 31, 2023 07:39
Fixes rubocop#12275 (comment).

This PR fixes an error for `Style/RedundantDoubleSplatHashBraces`
when method call for parenthesized no hash double double splat.
@koic koic force-pushed the fix_an_error_for_style_redundant_double_splat_hash_braces branch from 3aec751 to 930755c Compare October 31, 2023 07:43
Copy link

@mathieujobin mathieujobin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I loaded your branch locally, and I can confirm. it fixes the error. Thank you very much.

@koic koic merged commit d7dc94d into rubocop:master Nov 2, 2023
28 checks passed
@koic koic deleted the fix_an_error_for_style_redundant_double_splat_hash_braces branch November 2, 2023 16:20
@mathieujobin
Copy link

Curious if there is a release planned with this? Or we are waiting to have more changes?

@bbatsov
Copy link
Collaborator

bbatsov commented Nov 7, 2023

@mathieujobin I haven't decided on when to cut the next release and I'll probably wait for more changes to accumulate to warrant a release. Likely this will happen in a week or two.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Exception in Style/RedundantDoubleSplatHashBraces
3 participants