This should fix building the library for GHC <= 7.4
This commit is contained in:
parent
9eb446e24b
commit
9d3b449e55
@ -35,7 +35,6 @@ import Data.Maybe
|
|||||||
import DynFlags
|
import DynFlags
|
||||||
import ErrUtils
|
import ErrUtils
|
||||||
import FastString
|
import FastString
|
||||||
import GHC hiding (ClsInst)
|
|
||||||
import Language.Haskell.GhcMod.GHCChoice
|
import Language.Haskell.GhcMod.GHCChoice
|
||||||
import Language.Haskell.GhcMod.Types
|
import Language.Haskell.GhcMod.Types
|
||||||
import Outputable
|
import Outputable
|
||||||
@ -50,7 +49,13 @@ import qualified Pretty
|
|||||||
import qualified StringBuffer as SB
|
import qualified StringBuffer as SB
|
||||||
#if __GLASGOW_HASKELL__ >= 707
|
#if __GLASGOW_HASKELL__ >= 707
|
||||||
import FamInstEnv
|
import FamInstEnv
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if __GLASGOW_HASKELL__ >= 706
|
||||||
|
import GHC hiding (ClsInst)
|
||||||
|
#else
|
||||||
|
import GHC hiding (Instance)
|
||||||
|
#endif
|
||||||
|
|
||||||
#if __GLASGOW_HASKELL__ >= 702
|
#if __GLASGOW_HASKELL__ >= 702
|
||||||
import CoreMonad (liftIO)
|
import CoreMonad (liftIO)
|
||||||
|
Loading…
Reference in New Issue
Block a user