Fix build: dont import liftIO in ghc 7.6 from ghcmonad

This commit is contained in:
Andrew Gibiansky 2015-05-26 10:17:42 +02:00
parent 154054456d
commit 2412d4b127

View File

@ -63,7 +63,13 @@ import qualified Linker
import TcType
import Unify
import InstEnv
#if MIN_VERSION_ghc(7, 8, 0)
import GhcMonad (liftIO, withSession)
#else
import GhcMonad (withSession)
#endif
import GHC hiding (Stmt, TypeSig)
import Exception hiding (evaluate)
import Outputable hiding ((<>))