rescue old GHCs.

This commit is contained in:
Kazu Yamamoto 2014-04-28 09:28:57 +09:00
parent 248a999f99
commit 6a7955679a

View File

@ -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