haskell / haskell/haskell-language-server
False positive: Main.hs (executable) does not recognise function defined in Lib.hs (library)
- Dominant language
- Haskell
- Stars
- 3k
- Forks
- 455
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 11
Description
Hello, I am having trouble with erroneous error messages from the linter.
The steps I have taken are:
1. Created a new Haskell Stack project with `stack new `
2. Used `stack setup`
3. Created a function in Lib.hs and then used that function in Main.hs
Below are screenshots of the error I see.


Whenever I use `stack run`, the program compiles and runs as expected.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.