mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-23 16:52:31 +00:00
## Summary This is a follow up on https://github.com/astral-sh/ruff/pull/10492 I incorrectly assumed that `subscript.value.end()` always points past the value. However, this isn't the case for parenthesized values where the end "ends" before the parentheses. ## Test Plan I added new tests for the parenthesized case. |
||
|---|---|---|
| .. | ||
| snapshots | ||
| fixtures.rs | ||
| normalizer.rs | ||