projects
/
ghc-base.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
GHC.Conc.reportError now returns IO ()
[ghc-base.git]
/
GHC
/
Conc.lhs
diff --git
a/GHC/Conc.lhs
b/GHC/Conc.lhs
index
67a2199
..
d152815
100644
(file)
--- a/
GHC/Conc.lhs
+++ b/
GHC/Conc.lhs
@@
-1272,11
+1272,10
@@
foreign import ccall unsafe "sizeof_fd_set"
reportStackOverflow :: IO a
reportStackOverflow = do callStackOverflowHook; return undefined
reportStackOverflow :: IO a
reportStackOverflow = do callStackOverflowHook; return undefined
-reportError :: SomeException -> IO a
+reportError :: SomeException -> IO ()
reportError ex = do
handler <- getUncaughtExceptionHandler
handler ex
reportError ex = do
handler <- getUncaughtExceptionHandler
handler ex
- return undefined
-- SUP: Are the hooks allowed to re-enter Haskell land? If so, remove
-- the unsafe below.
-- SUP: Are the hooks allowed to re-enter Haskell land? If so, remove
-- the unsafe below.