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

Single argument are always parenthesized in call expressions #5707

Closed
MichaReiser opened this issue Jul 12, 2023 · 0 comments · Fixed by #5711
Closed

Single argument are always parenthesized in call expressions #5707

MichaReiser opened this issue Jul 12, 2023 · 0 comments · Fixed by #5711
Assignees
Labels
bug Something isn't working formatter Related to the formatter

Comments

@MichaReiser
Copy link
Member

# Input
call(a)

# Output
call((a))

Because FormatExpr incorrectly assumes that the () from the call expression are parentheses

@MichaReiser MichaReiser added bug Something isn't working formatter Related to the formatter labels Jul 12, 2023
@MichaReiser MichaReiser self-assigned this Jul 12, 2023
@MichaReiser MichaReiser linked a pull request Jul 12, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working formatter Related to the formatter
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant