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

Non-idempotence with comment in tuple or paren #450

Closed
judah opened this issue Nov 4, 2019 · 0 comments · Fixed by #573
Closed

Non-idempotence with comment in tuple or paren #450

judah opened this issue Nov 4, 2019 · 0 comments · Fixed by #573
Assignees
Labels
bug Something isn't working comments Issues related to comment placement idempotence Idempotence issues and solutions.

Comments

@judah
Copy link

judah commented Nov 4, 2019

Input:

x = ({-a-}b, c)

Error:

Formatting is not idempotent:
  before: "x = (\n  {-a-} b)\n"
  after:  "x =\n  ( {-a-} b\n  )\n"

This also happens with a simple parenthesis:

x = ({-a-}b)

Results in:

Formatting is not idempotent:
  before: "x = (\n  {-a-} b)\n"
  after:  "x =\n  ( {-a-} b\n  )\n"
@mrkkrp mrkkrp added bug Something isn't working idempotence Idempotence issues and solutions. labels Nov 4, 2019
@mrkkrp mrkkrp added this to Easy in Google engagement Apr 9, 2020
@mrkkrp mrkkrp added the comments Issues related to comment placement label Apr 9, 2020
@mrkkrp mrkkrp moved this from Backlog to In progress in Google engagement Apr 26, 2020
@mrkkrp mrkkrp self-assigned this Apr 26, 2020
@mrkkrp mrkkrp moved this from In progress to Done in Google engagement Apr 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working comments Issues related to comment placement idempotence Idempotence issues and solutions.
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

2 participants