Conversation
7cca91a to
6db772f
Compare
<!-- ps-id: fcc53d5e-89b6-4f93-a7ff-3054691846db -->
6db772f to
41d3f56
Compare
|
I can reproduce but seemingly not if I rebase onto #1005 I have a suspicion that we may be changing the document in the store with an older version of it. I also made a bit of changes to this PR here https://github.com/ocaml/ocaml-lsp/tree/debug_changes_ulugbek |
|
I also think that when auto-save is on, we try sending in a |
I don't think it would matter. An additional save in the end would fix the situation with the diagnostics. While @copy was telling us that doing additional saves at the end does not change anything. |
|
the bug is fixed |
@copy could you try reproducing the issue with this PR?
You need to set the log file with an environment variable:
OCAMLLSP_DEBUG_CHANGES=ocamllsp.log. Then, just reproduce the bug and paste the first change set that introduces the incorrect document.