Eval Plugin won't run on module with CPP pragma #1216
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
:$ /Users/hiromi/Documents/Programming/Haskell/git/haskell-language-server/.stack-work/install/x86_64-osx/646dfbb1422d7c2bfa3a267d60b0919661541f00370d5b1a6cea365221b8edf3/8.6.5/bin/haskell-language-server --probe-tools haskell-language-server version: 0.8.0.0 (GHC: 8.6.5) (PATH: /Users/hiromi/Documents/Programming/Haskell/git/haskell-language-server/.stack-work/install/x86_64-osx/646dfbb1422d7c2bfa3a267d60b0919661541f00370d5b1a6cea365221b8edf3/8.6.5/bin/haskell-language-server) (GIT hash: 4b0e4560361ce429e09e6708ae8a845e2d37d2cd) Tool versions found on the $PATH cabal: 3.2.0.0 stack: 2.5.1
Which lsp-client do you use: VSCode
Describe your project (alternative: link to the project): The following module alone
Contents of
hie.yaml
: No hie.yaml (because it can be run as a single module)Steps to reproduce
Evaluate
code lens appears above-- >>> 5
Evaluate
Expected behaviour
A line with contents
-- 5
must be appended below.Actual behaviour
Nothing happens.
If one removes
{-# LANGUAGE CPP #-}
, everything works fine.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:
Environments
The text was updated successfully, but these errors were encountered: