diff --git a/Hat/PreludeBuiltin.hs b/Hat/PreludeBuiltin.hs
--- a/Hat/PreludeBuiltin.hs
+++ b/Hat/PreludeBuiltin.hs
@@ -1256,7 +1256,7 @@
 
 hcatch z1catch z2catch kcatch =
   (T.fromIO T.fromId) kcatch
-    (System.IO.Error.catch ((T.toIO T.toId) kcatch z1catch)
+    (System.IO.Error.catchIOError ((T.toIO T.toId) kcatch z1catch)
       ((toFun fromIOError (T.toIO T.toId)) kcatch z2catch))
 
 gputChar :: T.RefSrcPos -> T.RefExp -> T.R (T.Fun Char (IO T.Tuple0))
diff --git a/hat.cabal b/hat.cabal
--- a/hat.cabal
+++ b/hat.cabal
@@ -1,6 +1,6 @@
 
 name:                hat
-version:             2.7.0.8
+version:             2.7.0.9
 synopsis:            The Haskell tracer, generating and viewing Haskell execution traces
 description:
   hat-trans transforms Module.hs into Hat/Module.hs such that when the program is
