You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Output of haskell-language-server --probe-tools or haskell-language-server-wrapper --probe-tools:
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-fc3fc5c6bb9dbe9d059eeb2e8438fa71dbd18c178e95fd1b51ebde0ab2e9d440/bin/haskell-language-server)
Tool versions found on the $PATH
cabal: 3.2.0.0
stack: Not found
ghc: 8.10.3
Which lsp-client do you use:
vscode
Steps to reproduce
Create A.hs:
moduleAwheredataTyCon=DataConA | DataConB
And import TyCon(..) in another module:
moduleTestwhereimportA (TyCon (..))
Expected behaviour
DataConA is already in scope, so there's no need to extend the import list.
Actual behaviour
The text was updated successfully, but these errors were encountered:
Your environment
Output of
haskell-language-server --probe-tools
orhaskell-language-server-wrapper --probe-tools
: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-fc3fc5c6bb9dbe9d059eeb2e8438fa71dbd18c178e95fd1b51ebde0ab2e9d440/bin/haskell-language-server) Tool versions found on the $PATH cabal: 3.2.0.0 stack: Not found ghc: 8.10.3
Which lsp-client do you use:
vscode
Steps to reproduce
Create
A.hs
:And import
TyCon(..)
in another module:Expected behaviour
DataConA
is already in scope, so there's no need to extend the import list.Actual behaviour
The text was updated successfully, but these errors were encountered: