File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
hls-graph/src/Development/IDE/Graph/Internal
plugins/hls-rename-plugin/src/Ide/Plugin Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 77
88module Development.IDE.Graph.Internal.Types where
99
10- import Control.Applicative
1110import Control.Monad.Catch
1211import Control.Monad.IO.Class
1312import Control.Monad.Trans.Reader
Original file line number Diff line number Diff line change @@ -49,6 +49,11 @@ import Language.LSP.Protocol.Message
4949import Language.LSP.Protocol.Types
5050import Language.LSP.Server
5151
52+ #if MIN_VERSION_ghc(9,5,0)
53+ import Control.Monad.IO.Class (MonadIO , liftIO )
54+ import Control.Monad.Trans.Class (lift )
55+ #endif
56+
5257instance Hashable (Mod a ) where hash n = hash (unMod n)
5358
5459descriptor :: Recorder (WithPriority E. Log ) -> PluginId -> PluginDescriptor IdeState
You can’t perform that action at this time.
0 commit comments