Skip to content

HLS crashes when triggering module names completion #1365

Closed
@berberman

Description

@berberman

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: ghcidestatus: blockedNot actionable, because blocked by upstream/GHC etc.type: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions