Danylo Shevchenko
Danylo Shevchenko
HLS 2.11.0.0, GHC 9.12.2, Cabal 3.16.0.0 on macOS produces an error as well: ```sh $ haskell-language-server-wrapper-2.11.0.0 typecheck ./app/Main.hs Hidden: no Range: 1:1-2:1 Source: compiler Severity: DiagnosticSeverity_Error Code: Message: (GhcSession,NormalizedFilePath "/example/app/Main.hs")cannot...
The issue is reproducible with HLS 2.10.0.0 and GHC 9.10.1 on macOS as well Environment: - haskell-language-server version: 2.11.0.0 (GHC: 9.12.2) from ghcup - haskell-language-server version: 2.10.0.0 (GHC: 9.10.1) compiled...
This seems to be happening due to an error during analysing `Main.hs` mentioned here https://github.com/haskell/haskell-language-server/issues/4634#issuecomment-3123674524. Running `stack build` doesn't resolve the issue.
Update: the issue triggers when a project isn't a git repository or is a git repository without an initial commit