-
-
Notifications
You must be signed in to change notification settings - Fork 401
Closed
Labels
GHCissues with particular GHC versionsissues with particular GHC versionstype: 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
I am trying to follow ghcup
s helpful hint 3 on how to get HLS for GHC 9.10.3 (RC1: GHC 9.10.2.20250725).
[ Warn ] GHC-9.10.2.20250725 appears to have no corresponding HLS-2.11.0.0 binary.
[ ... ] Haskell IDE support may not work.
[ ... ] You can try to either:
[ ... ] 1. Install a different HLS version (e.g. downgrade for older GHCs)
[ ... ] 2. Install and set one of the following GHCs: [9.12.2, 9.10.2, 9.8.4, 9.6.7, 9.4.8]
[ ... ] 3. Let GHCup compile HLS for you, e.g. run: ghcup compile hls -g 2.11.0.0 --ghc 9.10.2.20250725 --cabal-update
ghcup compile hls -g 2.11.0.0 --ghc 9.10.2.20250725 --cabal-update
fails, and from the cabal.log
I can see the reason:
[3 of 8] Compiling Ide.Plugin.SemanticTokens.SemanticConfig ( ... )
plugins/hls-semantic-tokens-plugin/src/Ide/Plugin/SemanticTokens/SemanticConfig.hs:19:51: error: [GHC-51433]
In the import of ‘Ide.Plugin.Properties’:
a data type called ‘PropertyKey’ is exported,
but its subordinate item ‘PropertyKey’
is not in the type namespace.
|
19 | PropertyKey (type PropertyKey),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
plugins/hls-semantic-tokens-plugin/src/Ide/Plugin/SemanticTokens/SemanticConfig.hs:20:51: error: [GHC-51433]
In the import of ‘Ide.Plugin.Properties’:
a data type called ‘PropertyType’ is exported,
but its subordinate item ‘TEnum’ is not in the type namespace.
|
20 | PropertyType (type TEnum),
| ^^^^^^^^^^^^^^^^^^^^^^^^^
I tried the same command with GHC 9.10.2 and that succeeded: ghcup compile hls -g 2.11.0.0 --ghc 9.10.2
.
Metadata
Metadata
Assignees
Labels
GHCissues with particular GHC versionsissues with particular GHC versionstype: 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..