Skip to content

Non-idempotence with comment in tuple or paren #450

@judah

Description

@judah

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"

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcommentsIssues related to comment placementidempotenceIdempotence issues and solutions.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions