Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HLS crashes when triggering module names completion #1365

Closed
berberman opened this issue Feb 14, 2021 · 3 comments
Closed

HLS crashes when triggering module names completion #1365

berberman opened this issue Feb 14, 2021 · 3 comments
Labels
component: ghcide status: blocked Not actionable, because blocked by upstream/GHC etc. type: bug Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..

Comments

@berberman
Copy link
Collaborator

HLS verson:

haskell-language-server version: 0.9.0.0 (GHC: 8.10.3) (PATH: /home/berberman/.cabal/store/ghc-8.10.3/haskell-language-server-0.9.0.0-0a1f130421b85b97d7d539f51f666b79f189459c3d06c11eb1bfa9e18e0dbb5d/bin/haskell-language-server)
Tool versions found on the $PATH
cabal:          3.2.0.0
stack:          Not found
ghc:            8.10.3

Screenshot

Peek

relevant log from output:

haskell-language-server: haskell-language-server: panic! (the 'impossible' happened)
  (GHC version 8.10.3:
	ModOrigin: hidden module redefined

Please report this as a GHC bug:  https://www.haskell.org/ghc/reportabug

I think it's related to a reported ghc bug: https://gitlab.haskell.org/ghc/ghc/-/issues/16996 -- HLS crashes only when loading projects where we are not able to use module completions in ghci, as discussed in the gitlab issue.

@pepeiborra
Copy link
Collaborator

This was also discussed in #786

@jneira jneira added component: ghcide type: bug Something isn't right: doesn't work as intended, documentation is missing/outdated, etc.. labels Feb 24, 2021
@jneira
Copy link
Member

jneira commented Sep 16, 2021

@berberman this can be closed by #1367 or we could do something to improve state of things?
I guess it is blocked on the mentioned ghc bug

@jneira jneira added the status: blocked Not actionable, because blocked by upstream/GHC etc. label Sep 16, 2021
@michaelpj
Copy link
Collaborator

I'm assuming this is fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: ghcide status: blocked Not actionable, because blocked by upstream/GHC etc. type: bug Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..
Projects
None yet
Development

No branches or pull requests

4 participants