Skip to content

Commit

Permalink
Make plugin compile with GHC 9.12
Browse files Browse the repository at this point in the history
  • Loading branch information
arybczak committed Oct 6, 2024
1 parent 93f9db1 commit 46962c5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions effectful-plugin/src/Effectful/Plugin.hs
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,18 @@ import GHC.Tc.Types
import GHC.Tc.Types.Constraint
( Ct (..)
, CtEvidence (..)
#if __GLASGOW_HASKELL__ < 912
, CtLoc
#endif
#if __GLASGOW_HASKELL__ >= 908
, DictCt (..)
#endif
, ctPred
, emptyRewriterSet
)
#if __GLASGOW_HASKELL__ >= 912
import GHC.Tc.Types.CtLoc (CtLoc)
#endif
import GHC.Tc.Types.Evidence (EvBindsVar, Role (..))
import GHC.Tc.Utils.Env (tcGetInstEnvs)
import GHC.Tc.Utils.TcType (tcSplitTyConApp, eqType, nonDetCmpType)
Expand Down

0 comments on commit 46962c5

Please sign in to comment.