Skip to content

Commit

Permalink
hls-graph: Internal.Types: treat MonadFail
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton-Latukha committed Dec 28, 2021
1 parent 9ca4071 commit 27a0e4f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hls-graph/src/Development/IDE/Graph/Internal/Types.hs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ import Control.Monad.Catch
-- Needed in GHC 8.6.5
import Control.Concurrent.STM.Stats (TVar, atomically)
#endif
#if __GLASGOW_HASKELL__ < 880
import Prelude hiding (MonadFail)
import Control.Monad.Fail
#endif
import Control.Monad.IO.Class
import Control.Monad.Trans.Reader
import Data.Aeson (FromJSON, ToJSON)
Expand Down

0 comments on commit 27a0e4f

Please sign in to comment.