don't use InteractiveImport for old GHCs..
This commit is contained in:
parent
4d2ef23f33
commit
017d4cc22f
@ -202,8 +202,6 @@ withContext action = gbracket setup teardown body
|
|||||||
body _ = do
|
body _ = do
|
||||||
topImports >>= setContext
|
topImports >>= setContext
|
||||||
action
|
action
|
||||||
|
|
||||||
topImports :: Ghc [InteractiveImport]
|
|
||||||
topImports = do
|
topImports = do
|
||||||
mss <- getModuleGraph
|
mss <- getModuleGraph
|
||||||
#if __GLASGOW_HASKELL__ >= 706
|
#if __GLASGOW_HASKELL__ >= 706
|
||||||
|
Loading…
Reference in New Issue
Block a user