Skip to content

Commit e36208b

Browse files
authored
Bump partial ghc support warning to 9.4 (#3286)
- 9.2 is now fully supported - 9.4 is partially supported
1 parent 5cdaa24 commit e36208b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

ghcide/src/Development/IDE/Main.hs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ data Log
149149
| LogLspStart [PluginId]
150150
| LogLspStartDuration !Seconds
151151
| LogShouldRunSubset !Bool
152-
| LogOnlyPartialGhc92Support
152+
| LogOnlyPartialGhc94Support
153153
| LogSetInitialDynFlagsException !SomeException
154154
| LogService Service.Log
155155
| LogShake Shake.Log
@@ -173,8 +173,8 @@ instance Pretty Log where
173173
"Started LSP server in" <+> pretty (showDuration duration)
174174
LogShouldRunSubset shouldRunSubset ->
175175
"shouldRunSubset:" <+> pretty shouldRunSubset
176-
LogOnlyPartialGhc92Support ->
177-
"Currently, HLS supports GHC 9.2 only partially. See [issue #2982](https://github.com/haskell/haskell-language-server/issues/2982) for more detail."
176+
LogOnlyPartialGhc94Support ->
177+
"Currently, HLS supports GHC 9.4 only partially. See [issue #3190](https://github.com/haskell/haskell-language-server/issues/3190) for more detail."
178178
LogSetInitialDynFlagsException e ->
179179
"setInitialDynFlags:" <+> pretty (displayException e)
180180
LogService log -> pretty log
@@ -353,9 +353,9 @@ defaultMain recorder Arguments{..} = withHeapStats (cmapWithPrio LogHeapStats re
353353
, optRunSubset = runSubset
354354
}
355355
caps = LSP.resClientCapabilities env
356-
-- FIXME: Remove this after GHC 9.2 gets fully supported
357-
when (ghcVersion == GHC92) $
358-
log Warning LogOnlyPartialGhc92Support
356+
-- FIXME: Remove this after GHC 9.4 gets fully supported
357+
when (ghcVersion == GHC94) $
358+
log Warning LogOnlyPartialGhc94Support
359359
monitoring <- argsMonitoring
360360
initialise
361361
(cmapWithPrio LogService recorder)

0 commit comments

Comments
 (0)