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 SPLIT_ARGUMENTS_WHEN_COMMA_TERMINATED for one-item argument lists #1142

Conversation

alexey-pelykh
Copy link
Contributor

Turn

r = f0(1,)

into

r = f0(
    1,
)

in case SPLIT_ARGUMENTS_WHEN_COMMA_TERMINATED is enabled

Copy link
Member

@bwendling bwendling left a comment

Choose a reason for hiding this comment

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

Could you add a blurb in CHANGLOG?

@alexey-pelykh alexey-pelykh force-pushed the fix/split_arguments_when_comma_terminated-single-argument branch from dd9aa61 to 4d49ea0 Compare September 19, 2023 03:36
@alexey-pelykh
Copy link
Contributor Author

@bwendling done

Add "Fixed" tag.
Copy link
Member

@bwendling bwendling left a comment

Choose a reason for hiding this comment

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

Thanks for the fix!

@bwendling bwendling merged commit 11b284e into google:main Sep 19, 2023
11 checks passed
@alexey-pelykh alexey-pelykh deleted the fix/split_arguments_when_comma_terminated-single-argument branch September 20, 2023 04:27
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