-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Thread 'Worker' panicked at 'invalid offset' #14839
Comments
It seems that just ignoring this error can make RA work again let line_col = match line_index.index.try_line_col(offset) {
Some(line_col) => line_col,
None => return lsp_types::Position::new(0, 0),
}; |
Minimal repo:Just invoke
|
rust-analyzer version: @Veykril The bug still exists in v0.4.1951.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
rust-analyzer version: 0.0.0 (e4977e7 2023-05-18)
rustc version: rustc 1.69.0 (84c898d65 2023-04-16)
RA panic when invoke
CallHierarchy
onrust_analyzer::handlers::request::handle_completion
The text was updated successfully, but these errors were encountered: