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

Add node types forwarded_restarg and forwarded_kwrestarg #245

Merged

Conversation

ydah
Copy link
Member

@ydah ydah commented Nov 30, 2022

This PR is added the node types added by whitequark/parser#874

Now CI seems to be failing as well:
https://github.com/rubocop/rubocop-ast/actions/runs/3581987367/jobs/6025686164#step:9:33

@ydah ydah force-pushed the add_forwarded_restarg_forwarded_kwrestarg branch from ed7018e to 276261c Compare November 30, 2022 11:53
@@ -120,6 +120,10 @@ The following fields are given when relevant to nodes in the source code:

|forwarded-args|Forwarding arguments into a method call|None|foo(...)|N/A

|forwarded-restarg|Forwarding positional arguments into a method call|None|foo(*)|N/A
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
|forwarded-restarg|Forwarding positional arguments into a method call|None|foo(*)|N/A
|forwarded-restarg|Forwarding rest arguments into a method call|None|foo(*)|N/A

Copy link
Contributor

Choose a reason for hiding this comment

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

Both work; I'm fine with "positional" as it's very clear 👍

@marcandre marcandre merged commit 1ec41cc into rubocop:master Nov 30, 2022
@marcandre
Copy link
Contributor

Thank you @ydah !
Released as 1.24.0 🚀

@ydah ydah deleted the add_forwarded_restarg_forwarded_kwrestarg branch December 1, 2022 07:37
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