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

Handle anonymous splats in MlhsNode #340

Merged
merged 1 commit into from
Nov 27, 2024

Conversation

Earlopain
Copy link
Contributor

Ref: rubocop/rubocop#13505

I checked what the cop was previously expecting here, before rubocop/rubocop#13422

I'm not sure if a splat makes much sense here, but nil seems even more unexpected.

cc @dvandersluis

Ref: rubocop/rubocop#13505

I checked what the cop was previously expecting here, before rubocop/rubocop#13422
Copy link
Member

@dvandersluis dvandersluis left a comment

Choose a reason for hiding this comment

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

Makes sense to me.

@marcandre marcandre merged commit d12f611 into rubocop:master Nov 27, 2024
20 checks passed
@marcandre
Copy link
Contributor

Agreed, thanks!

Released as 1.36.2

Earlopain added a commit to Earlopain/rubocop that referenced this pull request Nov 27, 2024
Related to rubocop#13505
The fix was applied in rubocop/rubocop-ast#340 but it still makes sense to test here as well
Earlopain added a commit to Earlopain/rubocop that referenced this pull request Nov 27, 2024
The fix was applied in rubocop/rubocop-ast#340 but it still makes sense to test here as well
@Earlopain Earlopain deleted the mlhs-anon-splat branch November 27, 2024 19:59
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.

3 participants