-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Request textDocument/inlayHint failed. #12770
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
Comments
Presumably a dupe of #12484. |
Close, as #12484 fixed. |
Still got this. |
A minimized example would probably be useful here, but it's not exactly trivial to get. |
|
Sorry, I don't have too much knowledge about this.
|
The way I tried to do it was to run But after spending some time on it, I realized that the crash had moved from Of course, a crash is still a crash, and I could have continued trimming down |
Panic location is here
Meaning we crashed on an invalid range in the Oh, actually maybe we processed something out of order here instead! A few possible causes, but doesn't sound like something easily reproducible |
Right, there are two panics here 😄. |
Ye, we don't catch panics in notification handlers it seems so the server just dies in that case :) I think that's an oversight. Ah no this is intentional |
No, I meant the |
Any temporary hack to fix this by any chance? |
Still get similar issue on |
@0x7CFE you should have some panics in the log window, can you paste them? |
@lnicola, sure. I'm using the following repo: AstarNetwork/astar-frame@b1f286e I tried to hover over some stuff and get the following output below. P.S.: There are other errors that happen upon project loading or on nearly any action in the editor. So it's related not only to inline hints.
|
It looks like all the EVM base projects encounter this error. |
If we had #8275, we could exclude those (in case you are working in a mono-repo). |
Can anyone confirm whether this issue still persists on the latest rust-analyzer? I believe chalk should no longer panic here but instead run out of fuel? |
I can't see this error now. |
The same errors here: This code cause an errors above:
|
And again |
It works well on small projects.
But not works on https://github.com/darwinia-network/darwinia-common
And if I increase the
"CHALK_OVERFLOW_DEPTH": "4096"
.The text was updated successfully, but these errors were encountered: