Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix PLE251 rules with f-string escaping
**Summary** The `value` of the `FStringMiddle` for `f"""}}a�b"""` is `}a�b`, i.e. the curly brace escaping is decoded. If we iterate over string this gives us false indices causing exploding fixes for PLE251 rules (PLE2510, PLE2512, PLE2513, PLE2514, PLE2515). Instead, we now use the source range. Handles #7455 (comment) Handles #7455 (comment) **Test Plan** Minimized fuzzing cases as fixtures.
- Loading branch information