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 ErrUtils
|
||||
import FastString
|
||||
import GHC hiding (ClsInst)
|
||||
import Language.Haskell.GhcMod.GHCChoice
|
||||
import Language.Haskell.GhcMod.Types
|
||||
import Outputable
|
||||
@ -52,6 +51,12 @@ import qualified StringBuffer as SB
|
||||
import FamInstEnv
|
||||
#endif
|
||||
|
||||
#if __GLASGOW_HASKELL__ >= 706
|
||||
import GHC hiding (ClsInst)
|
||||
#else
|
||||
import GHC hiding (Instance)
|
||||
#endif
|
||||
|
||||
#if __GLASGOW_HASKELL__ >= 702
|
||||
import CoreMonad (liftIO)
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user