-
-
Notifications
You must be signed in to change notification settings - Fork 412
Closed
haskell/ghcide
#952Labels
component: ghcidestatus: blockedNot actionable, because blocked by upstream/GHC etc.Not actionable, because blocked by upstream/GHC etc.type: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..
Description
Your environment
Output of haskell-language-server --probe-tools or haskell-language-server-wrapper --probe-tools:
haskell-language-server version: 0.6.0.0 (GHC: 8.10.2) (PATH: /home/jjc93/.local/bin/haskell-language-server-wrapper) (GIT hash: d79feb5bf5d9a33003125e2988d7c0dc7174b8d5)
Tool versions found on the $PATH
cabal: 3.2.0.0
stack: 2.5.1
ghc: 8.10.2Which lsp-client do you use:
Emacs with LSP-mode
Describe your project (alternative: link to the project):
It is a project created by cabal init.
Contents of hie.yaml: Nothing (implicit yaml)
Steps to reproduce
- create a project using
cabal init. - go to
Main.hsfile, and typeimport Data.E. - try all code actions for
Data.Eq.
Expected behaviour
There is only one code action for Data.Eq, and it replaces import Data.E with import Data.Eq.
Actual behaviour
LSP-mode shows there are two actions. HLS log also conforms to that. One of the actions substitutes Data.Eq for import Data.E.
Metadata
Metadata
Assignees
Labels
component: ghcidestatus: blockedNot actionable, because blocked by upstream/GHC etc.Not actionable, because blocked by upstream/GHC etc.type: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..