You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems similar to #2637 and #2648, can you check the same example with the latest black installed from main? (this should allow parsing multiple values, for the error reporting, I guess that is still in progress)
Describe the bug
Attempt to format
match
expression with comma results in parsing error with misleading line number in error message.To Reproduce
MRE:
Format command:
The resulting error is:
And no errors are appearing if the last match expression is removed:
... OR
x, x + 1
and1, 2
are replaced with(x, x + 1)
and(1, 2)
:Expected behavior
No errors (?).
Environment
black, 21.11b1 (compiled: no)
The text was updated successfully, but these errors were encountered: