From 73a6ed218c59fb778da9b830db1283e005ff2245 Mon Sep 17 00:00:00 2001 From: David Waern Date: Sat, 1 Oct 2011 01:34:10 +0200 Subject: Use printException instead of deprecated printExceptionAndWarnings --- src/Main.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Main.hs b/src/Main.hs index b49fc6e4..f21bde5e 100644 --- a/src/Main.hs +++ b/src/Main.hs @@ -157,7 +157,7 @@ readPackagesAndProcessModules flags files = do -- Catches all GHC source errors, then prints and re-throws them. let handleSrcErrors action' = flip handleSourceError action' $ \err -> do - printExceptionAndWarnings err + printException err liftIO exitFailure -- Initialize GHC. -- cgit v1.2.3