From b9cffae50a23afce853653d4ed41c35cb21e2a5a Mon Sep 17 00:00:00 2001 From: andys8 Date: Thu, 13 Oct 2022 19:19:00 +0200 Subject: [PATCH] Bump partial ghc support warning to 9.4 - 9.2 is now fully supported - 9.4 is partially supported --- ghcide/src/Development/IDE/Main.hs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ghcide/src/Development/IDE/Main.hs b/ghcide/src/Development/IDE/Main.hs index 3f27e395aa..fbbd5a88a6 100644 --- a/ghcide/src/Development/IDE/Main.hs +++ b/ghcide/src/Development/IDE/Main.hs @@ -149,7 +149,7 @@ data Log | LogLspStart [PluginId] | LogLspStartDuration !Seconds | LogShouldRunSubset !Bool - | LogOnlyPartialGhc92Support + | LogOnlyPartialGhc94Support | LogSetInitialDynFlagsException !SomeException | LogService Service.Log | LogShake Shake.Log @@ -173,8 +173,8 @@ instance Pretty Log where "Started LSP server in" <+> pretty (showDuration duration) LogShouldRunSubset shouldRunSubset -> "shouldRunSubset:" <+> pretty shouldRunSubset - LogOnlyPartialGhc92Support -> - "Currently, HLS supports GHC 9.2 only partially. See [issue #2982](https://github.com/haskell/haskell-language-server/issues/2982) for more detail." + LogOnlyPartialGhc94Support -> + "Currently, HLS supports GHC 9.4 only partially. See [issue #3190](https://github.com/haskell/haskell-language-server/issues/3190) for more detail." LogSetInitialDynFlagsException e -> "setInitialDynFlags:" <+> pretty (displayException e) LogService log -> pretty log @@ -353,9 +353,9 @@ defaultMain recorder Arguments{..} = withHeapStats (cmapWithPrio LogHeapStats re , optRunSubset = runSubset } caps = LSP.resClientCapabilities env - -- FIXME: Remove this after GHC 9.2 gets fully supported - when (ghcVersion == GHC92) $ - log Warning LogOnlyPartialGhc92Support + -- FIXME: Remove this after GHC 9.4 gets fully supported + when (ghcVersion == GHC94) $ + log Warning LogOnlyPartialGhc94Support monitoring <- argsMonitoring initialise (cmapWithPrio LogService recorder)