Import/export errors block import/export re-scanning #2897
Labels
component: ghcide
component: hie-bios
type: bug
Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..
Your environment
Which OS do you use:
Ubuntu 20.04
Which LSP client (editor/plugin) do you use:
VS Code+Haskell+enabled autosave there
Describe your project (alternative: link to the project):
link
Steps to reproduce
A
, moduleB
will be highlighted red.B.hs
as in the third commit (link). Though B does exportb
, in moduleA
, moduleB
will still be highlighted red.And there will be an error
Expected behaviour
When a module exports a function, the errors for modules which expected such function should be re-checked.
Actual behaviour
Instead, if there happens an error, HLS blocks further export/import checks, and there is no way to make checks start again without restarting the HLS
Include debug information
The text was updated successfully, but these errors were encountered: