Open
Description
This seems to be related to the CI failure here haskell/ghcup-hs#1275 (comment)
I tested the same steps with 2.10.0.0 and did not hit this issue.
Your environment
Which OS do you use?
windows
Which version of GHC do you use and how did you install it?
cabal --version
cabal-install version 3.14.2.0
How is your project built (alternative: link to the project)?
Which LSP client (editor/plugin) do you use?
Which version of HLS do you use and how did you install it?
Have you configured HLS in any way (especially: a hie.yaml
file)?
Steps to reproduce
ghcup set 9.10.2
haskell-language-server-wrapper-2.11.0.0.exe typecheck .\src\Data\Text.hs
ghcup set 9.6.7
haskell-language-server-wrapper-2.11.0.0.exe typecheck .\src\Data\Text.hs
Expected behaviour
Actual behaviour
Error:
Hidden: no
Range: 1:1-2:1
Source: compiler
Severity: DiagnosticSeverity_Error
Code: <none>
Message:
(GhcSession,NormalizedFilePath "C:\\Users\\dford\\text-2.1.2\\src\\Data\\Text.hs")cannot satisfy
-package-id array-0.5.8.0-2b9d
(use -v for more information)
Files that failed:
* C:\Users\dford\text-2.1.2\src\Data\Text.hs