Removing multiple unnecessary parenthesizes for for assignment targes is unstable #2952
Labels
C: unstable formatting
Formatting changed on the second pass
F: parentheses
Too many parentheses, not enough parentheses, and so on.
T: bug
Something isn't working
Describe the bug
Under preview, the removal of unnecessary parenthesizes can be unstable if there's multiple -- each pass removes only one pair.
To Reproduce
For example, take this code:
And run it with these arguments:
The resulting error is:
Expected behavior
All of the unnecessary parenthesizes being removed at once ^^
Environment
The text was updated successfully, but these errors were encountered: