@@ -131,9 +131,8 @@ module Development.IDE.GHC.Compat.Core (
131131 ),
132132 pattern FunTy ,
133133 pattern ConPatIn ,
134- #if !MIN_VERSION_ghc(9,2,0)
135134 Development.IDE.GHC.Compat.Core. splitForAllTyCoVars ,
136- #endif
135+ #if !MIN_VERSION_ghc(9,0,0)
137136 Development.IDE.GHC.Compat.Core. mkVisFunTys ,
138137 Development.IDE.GHC.Compat.Core. mkInfForAllTys ,
139138#endif
@@ -385,7 +384,7 @@ module Development.IDE.GHC.Compat.Core (
385384 module GHC.Types.Var ,
386385 module GHC.Unit.Module ,
387386 module GHC.Utils.Error ,
388- module TcType ,
387+ module TcType
389388#else
390389 module BasicTypes ,
391390 module Class ,
@@ -885,6 +884,7 @@ scaledThing = id
885884
886885unrestricted :: a -> Scaled a
887886unrestricted = id
887+ #endif
888888
889889mkVisFunTys :: [Scaled Type ] -> Type -> Type
890890mkVisFunTys =
@@ -896,6 +896,9 @@ mkVisFunTys =
896896
897897mkInfForAllTys :: [TyVar ] -> Type -> Type
898898mkInfForAllTys =
899+ #if MIN_VERSION_ghc(9,0,0)
900+ TcType. mkInfForAllTys
901+ #else
899902 mkInfForAllTys
900903#endif
901904
@@ -957,14 +960,12 @@ type PlainGhcException = Plain.PlainGhcException
957960type PlainGhcException = Plain. GhcException
958961#endif
959962
960- <<<<<<< HEAD
961963#if MIN_VERSION_ghc(9,0,0)
962964-- This is from the old api, but it still simplifies
963965pattern ConPatIn :: SrcLoc. Located (ConLikeP GhcPs ) -> HsConPatDetails GhcPs -> Pat GhcPs
964966pattern ConPatIn con args = ConPat NoExtField con args
965967#endif
966968
967- =======
968969initDynLinker , initObjLinker :: HscEnv -> IO ()
969970initDynLinker =
970971#if !MIN_VERSION_ghc(9,0,0)
@@ -1061,4 +1062,3 @@ collectHsBindsBinders x = GHC.collectHsBindsBinders CollNoDictBinders x
10611062pattern HsLet xlet localBinds expr <- GHC. HsLet xlet (SrcLoc. unLoc -> localBinds) expr
10621063pattern LetStmt xlet localBinds <- GHC. LetStmt xlet (SrcLoc. unLoc -> localBinds)
10631064#endif
1064- >>>>>>> master
0 commit comments