rescue old GHCs.
This commit is contained in:
parent
248a999f99
commit
6a7955679a
@ -198,7 +198,7 @@ withContext :: Ghc a -> Ghc a
|
||||
withContext action = gbracket setup teardown body
|
||||
where
|
||||
setup = getContext
|
||||
teardown = setContext
|
||||
teardown = setCtx
|
||||
body _ = do
|
||||
topImports >>= setCtx
|
||||
action
|
||||
|
Loading…
Reference in New Issue
Block a user