[project @ 2002-10-30 18:21:25 by ross]
authorross <unknown>
Wed, 30 Oct 2002 18:21:25 +0000 (18:21 +0000)
committerross <unknown>
Wed, 30 Oct 2002 18:21:25 +0000 (18:21 +0000)
(Hugs only) fix silly slip in last commit.

Control/Exception.hs

index 3ab3ceb..b973232 100644 (file)
@@ -139,7 +139,7 @@ INSTANCE_TYPEABLE0(AsyncException,asyncExceptionTc,"AsyncException")
 #ifdef __HUGS__
 -- This is as close as Hugs gets to providing throw
 throw :: Exception -> IO a
-throw = ioError
+throw = throwIO
 #endif
 
 -----------------------------------------------------------------------------