Your environment
Windows/VSCode/ghc-9.10 currently but I think I've seen this issue with ghc-9.12 too.
Steps to reproduce
The Problem
Sometimes HLS doesn't refresh the diagnostics after the file changed.
I think this is some race condition between updating diagnostics and saving the file.
That is a rapid succession of edit->save events makes this happen.
Your environment
Windows/VSCode/ghc-9.10 currently but I think I've seen this issue with ghc-9.12 too.
Steps to reproduce
The Problem
Sometimes HLS doesn't refresh the diagnostics after the file changed.
I think this is some race condition between updating diagnostics and saving the file.
That is a rapid succession of edit->save events makes this happen.