@@ -131,9 +131,8 @@ module Development.IDE.GHC.Compat.Core (
131
131
),
132
132
pattern FunTy ,
133
133
pattern ConPatIn ,
134
- #if !MIN_VERSION_ghc(9,2,0)
135
134
Development.IDE.GHC.Compat.Core. splitForAllTyCoVars ,
136
- #endif
135
+ #if !MIN_VERSION_ghc(9,0,0)
137
136
Development.IDE.GHC.Compat.Core. mkVisFunTys ,
138
137
Development.IDE.GHC.Compat.Core. mkInfForAllTys ,
139
138
#endif
@@ -385,7 +384,7 @@ module Development.IDE.GHC.Compat.Core (
385
384
module GHC.Types.Var ,
386
385
module GHC.Unit.Module ,
387
386
module GHC.Utils.Error ,
388
- module TcType ,
387
+ module TcType
389
388
#else
390
389
module BasicTypes ,
391
390
module Class ,
@@ -885,6 +884,7 @@ scaledThing = id
885
884
886
885
unrestricted :: a -> Scaled a
887
886
unrestricted = id
887
+ #endif
888
888
889
889
mkVisFunTys :: [Scaled Type ] -> Type -> Type
890
890
mkVisFunTys =
@@ -896,6 +896,9 @@ mkVisFunTys =
896
896
897
897
mkInfForAllTys :: [TyVar ] -> Type -> Type
898
898
mkInfForAllTys =
899
+ #if MIN_VERSION_ghc(9,0,0)
900
+ TcType. mkInfForAllTys
901
+ #else
899
902
mkInfForAllTys
900
903
#endif
901
904
@@ -957,14 +960,12 @@ type PlainGhcException = Plain.PlainGhcException
957
960
type PlainGhcException = Plain. GhcException
958
961
#endif
959
962
960
- <<<<<<< HEAD
961
963
#if MIN_VERSION_ghc(9,0,0)
962
964
-- This is from the old api, but it still simplifies
963
965
pattern ConPatIn :: SrcLoc. Located (ConLikeP GhcPs ) -> HsConPatDetails GhcPs -> Pat GhcPs
964
966
pattern ConPatIn con args = ConPat NoExtField con args
965
967
#endif
966
968
967
- =======
968
969
initDynLinker , initObjLinker :: HscEnv -> IO ()
969
970
initDynLinker =
970
971
#if !MIN_VERSION_ghc(9,0,0)
@@ -1061,4 +1062,3 @@ collectHsBindsBinders x = GHC.collectHsBindsBinders CollNoDictBinders x
1061
1062
pattern HsLet xlet localBinds expr <- GHC. HsLet xlet (SrcLoc. unLoc -> localBinds) expr
1062
1063
pattern LetStmt xlet localBinds <- GHC. LetStmt xlet (SrcLoc. unLoc -> localBinds)
1063
1064
#endif
1064
- >>>>>>> master
0 commit comments