ruff
d6a42830 - Fix range of unparenthesized tuple subject in match statement (#8101)

Commit
1 year ago
Fix range of unparenthesized tuple subject in match statement (#8101) ## Summary This was just a bug in the parser ranges, probably since it was initially implemented. Given `match n % 3, n % 5: ...`, the "subject" (i.e., the tuple of two binary operators) was using the entire range of the `match` statement. Closes https://github.com/astral-sh/ruff/issues/8091. ## Test Plan `cargo test`
Author
Parents
Loading