summaryrefslogtreecommitdiff
path: root/src/compiler/GF/Infra/SIO.hs
diff options
context:
space:
mode:
authorhallgren <hallgren@chalmers.se>2012-11-08 15:53:46 +0000
committerhallgren <hallgren@chalmers.se>2012-11-08 15:53:46 +0000
commit63093c32f33ad1fcfef10d2ef6ef010c2b5471e9 (patch)
treed41a1ea8c6c5e58353f3a81440291be6d57d6e3b /src/compiler/GF/Infra/SIO.hs
parent1c0429c322d71c5488604785cf7278fe4ac67bf7 (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/GF/Infra/SIO.hs')
-rw-r--r--src/compiler/GF/Infra/SIO.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/GF/Infra/SIO.hs b/src/compiler/GF/Infra/SIO.hs
index c8355b293..1011b8df4 100644
--- a/src/compiler/GF/Infra/SIO.hs
+++ b/src/compiler/GF/Infra/SIO.hs
@@ -21,7 +21,7 @@ module GF.Infra.SIO(
import Prelude hiding (putStrLn,print)
import Control.Monad(liftM)
import System.IO(Handle,hPutStrLn,hFlush,stdout)
-import System.IO.Error(try)
+import GF.System.Catch(try)
import System.Cmd(system)
import System.Environment(getEnv)
import Control.Concurrent.Chan(newChan,writeChan,getChanContents)