-
-
Notifications
You must be signed in to change notification settings - Fork 407
Description
Your environment
Which OS do you use?
Up-to-date ArchLinux
Which version of GHC do you use and how did you install it?
GHC 9.10.1 installed via ghcup
How is your project built (alternative: link to the project)?
The project is HLS itself
Which LSP client (editor/plugin) do you use?
(terminal) Vim + YCM
Which version of HLS do you use and how did you install it?
I've pointed my IDE at 91d2b48, which I've built via cabal build exe:haskell-language-server -j8
Have you configured HLS in any way (especially: a hie.yaml
file)?
Not that I know of.
Steps to reproduce
- Open here:
runEvalCmd :: Recorder (WithPriority Log) -> PluginId -> CommandFunction IdeState EvalParams - Try
GoToDefinition
- on
EvalParams
- succeeds
- on
IdeState
RuntimeError: Cannot jump to location
- on
CommandFunction
RuntimeError: Cannot jump to location
- on
- manually open here:
data IdeState = IdeState - try
GoToDefinition
onIdeState
value constructorResponseAbortedException: Response Aborted
- Asking the IDE for info reveals that
-- haskell-language-serverCompleter not running -- ... -- haskell-language-serverCompleter Server State: Dead
- Repeat step 2.1 above
RuntimeError: Server is initializing. Please wait.
The whole screencast is available below, but from time 2:00 onwards you can disregard it because it's just me saving the log files.
Expected behaviour
GoTo
s should work.
Actual behaviour
Server dies?
Debug information
YCM log: https://gist.github.com/Aster89/e88f8c993afd6ec5d5321951329a6fec
ycmd stderr: https://www.dropbox.com/scl/fi/puxmqzlrki3z4l1ucy48j/ycmd_44423_stderr_n9199p2p.log?rlkey=ntwifjlbfj2o1hjduek7je4g4&st=rzo57n1t&dl=0
HLS log: https://gist.github.com/Aster89/a375d5164546d17153aae8e5c99cae77