-
Notifications
You must be signed in to change notification settings - Fork 124
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
Stale (merlin) diagnostics reported by olsp (> 1.13.1) when used with vscode #941
Comments
Could you show how such an error looks like? Dune-reported errors shown in the editor by olsp may get stalled until you save the document. Could it be your case? Just saving the document should update the reported diagnostics |
Looking at 1.14.0 changes, I suspect #853 to be at fault. Nevertheless, I don't experience the problem myself. It would be very helpful if you could git bisect the problem @Kakadu. You should be able to just check out the repo, run git bisect as usual, and use |
I will try to bisect |
@Kakadu any updates on this? |
No luck yet. I started to think, that this is so Heizenbuggy, that it appears before 1.13.x, but much much rarely |
I didn't manage to bisect this yet, but got a video of reproduction. Maybe it will be better than nothing https://www.youtube.com/watch?v=WyA4etBH98k |
TT, that after a few days I can't reproduce it again. |
Same as #1003. Should be fixed in the next point release. |
CHANGES: ## Fixes - Fix race condition when a document was being edited and dune in watch mode was running ([ocaml/ocaml-lsp#1005](ocaml/ocaml-lsp#1005), fixes [ocaml/ocaml-lsp#941](ocaml/ocaml-lsp#941), [ocaml/ocaml-lsp#1003](ocaml/ocaml-lsp#1003))
CHANGES: ## Fixes - Fix race condition when a document was being edited and dune in watch mode was running ([ocaml/ocaml-lsp#1005](ocaml/ocaml-lsp#1005), fixes [ocaml/ocaml-lsp#941](ocaml/ocaml-lsp#941), [ocaml/ocaml-lsp#1003](ocaml/ocaml-lsp#1003))
While using ocaml-lsp 1.14.x with VsCode ocaml-platform, I'm getting very often to the situation when VsCode highlights previous errors, which are already fixed. Usually, restarting the server helps, but not for very long. The ocaml-lsp 1.13.x doesn't have this issue, so I'm currently using the previous version.
Sorry, I'm not sure how to get meaningful log.
Did anybody else reported something similar?
The text was updated successfully, but these errors were encountered: