-
Notifications
You must be signed in to change notification settings - Fork 92
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
ark: occasional panic from LSP when typing #340
Comments
Saw this again, unfortunately:
|
I'm able to reproduce somewhat consistently with these steps:
When I do this with some extra debugging output, I see:
So it almost seems like certain edits are being dropped for some reason -- will need to dive deeper. Of course, this example which was briefly reproducing 99% of the time now reproduces 1% of the time. 😞 |
Okay, I can reproduce more readily by forcing some latency by making My guess is that we need to do some checks on the 'version' of the document being updated, to catch cases where the 'did_change' events are received out-of-order.
|
Closed via 6c0f1a9. |
Panic:
LSP logs:
The text was updated successfully, but these errors were encountered: