Commit 3647eab9 authored by Duncan Coutts's avatar Duncan Coutts
Browse files

Don't use Prelude.catch

It has been deprecated in ghc-7.2
and ghc builds core libs with -Werror so we have to comply.
parent 906cd6cd
......@@ -742,7 +742,7 @@ createDirectoryIfMissingVerbose verbosity create_parents path0
isDir <- doesDirectoryExist dir
if isDir then return ()
else throwIOIO e
) `catch` ((\_ -> return ()) :: IOException -> IO ())
) `catchIO` ((\_ -> return ()) :: IOException -> IO ())
| otherwise -> throwIOIO e
createDirectoryVerbose :: Verbosity -> FilePath -> IO ()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment