Output of haskell-language-server --probe-tools or haskell-language-server-wrapper --probe-tools:
haskell-language-server version: 1.3.0.0 (GHC: 8.10.4) (PATH: /nix/store/4wkv3mi2hidvbgvmibvjgyzp5nbnqzw6-haskell-language-server-1.3.0-installer/bin/haskell-language-server-wrapper) (GIT hash: e7c5e90b6df5dff2760d76169eddaea3bdd6a831)
Tool versions found on the $PATH
cabal: 3.0.0.0
stack: Not found
ghc: 8.6.5
I THINK it doesn't choose any of this cases, but should EITHER:
allow user to choose implementation (ghc or ghcjs)
choose BOTH, just like (I think) it does for flags (again, am I right about flags?) (TODO: both src-ghc and src-ghcjs first contain the same module Foreign.JavaScript.Internal.Utils, how it should work then?)
I don't really know how it SHOULD work
Include debug information
in the bottom of this comment you can find a logs of vscode when it loads Immediate.hs
We just ask cabal what to do, it's cabal that makes decisions here. I think there is certainly some confusion about what to do fro cross usecases but I'm not sure what to do about it.
Your environment
Output of
haskell-language-server --probe-tools
orhaskell-language-server-wrapper --probe-tools
:Which OS do you use: NixOs
Which lsp-client do you use: Vs Code
Describe your project (alternative: link to the project): it's a develop branch https://github.com/reflex-frp/reflex-platform/commit/55da77c8654c2f9a78c446ee730688bf94a7bde4 , but I have added
and run
./try-reflex
check this comment
Contents of
hie.yaml
: without hie.yaml fileSteps to reproduce
I clone this repo and execute
hack-on
is using https://github.com/obsidiansystems/nix-thunk to replace the contents of dir (e.g. https://github.com/reflex-frp/reflex-platform/blob/develop/haskell-overlays/reflex-packages/dep/reflex/) with the actual reposo, I see that
reflex
compiles, but this module https://github.com/reflex-frp/reflex-dom/blob/6a7782a61e90e7369a8278441eb47f702bb7c63b/reflex-dom-core/src/Reflex/Dom/Builder/Immediate.hs#L148 throws errorthis is because of (I think)
I THINK it doesn't choose any of this cases, but should EITHER:
Foreign.JavaScript.Internal.Utils
, how it should work then?)I don't really know how it SHOULD work
Include debug information
Immediate.hs
haskell-language-server-wrapper --debug . 2>&1 | tee haskell-language-server-wrapper.log
(here you can find only part of log -- if program is started outside vscode, the log is neverending and all 36gb of memory of my computer gets consumed, I have to kill program even afterCTRL-C
, probably there is a memory leak)