haskell / haskell/haskell-language-server
Variable that is in scope marked as not in scope
- Dominant language
- Haskell
- Stars
- 3k
- Forks
- 455
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 11
Description
### Your environment
Which OS do you use?
Windows
Which version of GHC do you use and how did you install it?
9.12.2 from ghcup
How is your project built (alternative: link to the project)?

Which LSP client (editor/plugin) do you use?
VS Code + haskell.haskell extension
Which version of HLS do you use and how did you install it?
2.10.0.0 from ghcup
Have you configured HLS in any way (especially: a `hie.yaml` file)?
no
### Steps to reproduce
1. Start HLS in VS Code
### Expected behaviour
Function declared in imported module is not highlighted as error
### Actual behaviour
Function is marked by "Variable not in scope" even when module explicitly exports it
### Debug information
[hlsistheworstlsiveeverseen.log](https://github.com/user-attachments/files/20028643/hlsistheworstlsiveeverseen.log)
[HSCifirWorks.cabal.sincegithub.txt](https://github.com/user-attachments/files/20028698/HSCifirWorks.cabal.sincegithub.txt)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.