X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Ftypecheck%2FTcRnMonad.lhs;h=1d562e34ad8c5d82133f84f37a3f4c077cc8d104;hb=1f3a7730cd7f831344d2a3b74a0ce700c382e858;hp=4c07a23f7b0c6c57f69b73d6c76aa801f045361f;hpb=45b7ef25fe0bdab56b817d17f24db0e725cc7688;p=ghc-hetmet.git diff --git a/compiler/typecheck/TcRnMonad.lhs b/compiler/typecheck/TcRnMonad.lhs index 4c07a23..1d562e3 100644 --- a/compiler/typecheck/TcRnMonad.lhs +++ b/compiler/typecheck/TcRnMonad.lhs @@ -543,11 +543,7 @@ discardWarnings thing_inside \begin{code} -#if __GLASGOW_HASKELL__ < 609 -try_m :: TcRn r -> TcRn (Either Exception r) -#else -try_m :: TcRn r -> TcRn (Either ErrorCall r) -#endif +try_m :: TcRn r -> TcRn (Either IOException r) -- Does try_m, with a debug-trace on failure try_m thing = do { mb_r <- tryM thing ;