prop checking (eval plugin) needs Prelude things to be imported #2246
Labels
component: hls-eval-plugin
type: bug
Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..
Your environment
Output of
haskell-language-server --probe-tools
orhaskell-language-server-wrapper --probe-tools
:Which OS do you use:
Ubuntu
Which lsp-client do you use:
VS code
Describe your project (alternative: link to the project):
Emty stack project
Contents of
hie.yaml
:Steps to reproduce
Press Evaluate codelens
Expected behaviour
Test passed successfuly
Actual behaviour
This appears:
-- prop> 1 Q.== 1
-- Not in scope: type constructor or class ‘IO’
-- Perhaps you meant ‘P.IO’ (imported from Prelude)
-- Not in scope: type constructor or class ‘String’
-- Perhaps you meant ‘P.String’ (imported from Prelude)
Prop checking don't work without prelude imported
Include debug information
Execute in the root of your project the command
haskell-language-server --debug .
and paste the logs here:Debug output:
Paste the logs from the lsp-client, e.g. for VS Code
LSP logs:
The text was updated successfully, but these errors were encountered: