X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Ftypecheck%2FTcRnMonad.lhs;h=929270b920e9100ba0895514a6ce5f2ddafea28c;hb=f4ce543cff19b797d54d435dc7c804acdefca9c8;hp=1d562e34ad8c5d82133f84f37a3f4c077cc8d104;hpb=1f3a7730cd7f831344d2a3b74a0ce700c382e858;p=ghc-hetmet.git diff --git a/compiler/typecheck/TcRnMonad.lhs b/compiler/typecheck/TcRnMonad.lhs index 1d562e3..929270b 100644 --- a/compiler/typecheck/TcRnMonad.lhs +++ b/compiler/typecheck/TcRnMonad.lhs @@ -40,7 +40,6 @@ import StaticFlags import FastString import Panic import Util -import Exception import System.IO import Data.IORef @@ -543,7 +542,7 @@ discardWarnings thing_inside \begin{code} -try_m :: TcRn r -> TcRn (Either IOException r) +try_m :: TcRn r -> TcRn (Either IOEnvFailure r) -- Does try_m, with a debug-trace on failure try_m thing = do { mb_r <- tryM thing ;