Not valid Cpython files cause crashes in crates/ruff_source_file/src/line_index.rs:115:28
#9407
Labels
bug
Something isn't working
Ruff 0.1.11 - latest version from git
When trying to catch #9398 I found that ruff parses a lot of more files than cpython so it is possible that users will try to fix file with invalid syntax(not sure why, but currently I don't see similar crashes with valid files)
3800 files with problems -
NOT_PARSABLE.zip
The text was updated successfully, but these errors were encountered: