don't use InteractiveImport for old GHCs..

This commit is contained in:
Kazu Yamamoto 2014-04-27 22:48:24 +09:00
parent 4d2ef23f33
commit 017d4cc22f
1 changed files with 10 additions and 12 deletions

View File

@ -202,8 +202,6 @@ withContext action = gbracket setup teardown body
body _ = do
topImports >>= setContext
action
topImports :: Ghc [InteractiveImport]
topImports = do
mss <- getModuleGraph
#if __GLASGOW_HASKELL__ >= 706