-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
assertion failed: start.raw <= end.raw appears again #11429
Comments
Thanks for the report! Can you tell me exactly where you're typing the RANGE_DICT = {
("NRF1_chr9_gap1_g0", 0): (32, 43),
("NRF1_chr9_gap1_g0", 1): (62, 73),
}
def I'm not getting any panics if I type Can you confirm that Neovim is using the correct |
Sorry but I'm unable to reproduce this with the snippet above.
Can you provide the steps you took to get this value? I'm specifically referring to the Ruff version
Can you confirm the Ruff version with this steps? If you face any problem, you can connect withe me on Discord (username: dhruvmanila) and we can diagnose the issue :) |
Found ruff 0.4.0 at /Users/zhangzhen/.local/share/nvim/mason/packages/ruff-lsp/venv/bin/ruff |
Ah ok. Can you upgrade the |
Yes, this was fixed in |
I'm using ruff in neovim 0.9.5.
Before the constant defining statement, i typed def and then type a space. No errors occurred.
After it, i typed def and then a space. I got the following error:
thread 'main' panicked at /Users/runner/work/ruff/ruff/crates/ruff_text_size/src/range.rs:48:9:
assertion failed: start.raw <= end.raw
The current Ruff version: 0.4.4.
The current Ruff settings:
The text was updated successfully, but these errors were encountered: