Open alanz opened 6 years ago
See also the monotonicity considerations of #416. Essentially it is
Especially in the case 4.
There is also case 0, hie GHC version does not match project GHC version
We need to revisit this, based on real world feedback.
cc @reactormonk
At the moment, when a file is opened, we request diagnostics on it as usual, and return a "Module not Loaded" error message.
Once the compilation is complete, if it succeeds, then we start getting hover info etc. If the compilation fails, we continue to get the "Module not Loaded" warning.
We need to manage UI messaging better.