diff options
| author | hallgren <hallgren@chalmers.se> | 2012-11-08 15:53:46 +0000 |
|---|---|---|
| committer | hallgren <hallgren@chalmers.se> | 2012-11-08 15:53:46 +0000 |
| commit | 63093c32f33ad1fcfef10d2ef6ef010c2b5471e9 (patch) | |
| tree | d41a1ea8c6c5e58353f3a81440291be6d57d6e3b /src/compiler/GFServer.hs | |
| parent | 1c0429c322d71c5488604785cf7278fe4ac67bf7 (diff) | |
Eliminate warnings about deprecated use of catch and try
This is also needed for compatibility with GHC 7.6.
Diffstat (limited to 'src/compiler/GFServer.hs')
| -rw-r--r-- | src/compiler/GFServer.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compiler/GFServer.hs b/src/compiler/GFServer.hs index fc0dcf347..ac14804c0 100644 --- a/src/compiler/GFServer.hs +++ b/src/compiler/GFServer.hs @@ -8,7 +8,8 @@ import Control.Monad.State(StateT(..),get,gets,put) import Control.Monad.Error(ErrorT(..),Error(..)) import System.Random(randomRIO) import System.IO(stderr,hPutStrLn) -import System.IO.Error(try,isAlreadyExistsError) +import GF.System.Catch(try) +import System.IO.Error(isAlreadyExistsError) import System.Directory(doesDirectoryExist,doesFileExist,createDirectory, setCurrentDirectory,getCurrentDirectory, getDirectoryContents,removeFile,removeDirectory) |
