projects
/
ghc-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
393de16
)
reportStackOverflow now returns IO ()
author
Ian Lynagh
<igloo@earth.li>
Fri, 10 Jul 2009 15:32:57 +0000
(15:32 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Fri, 10 Jul 2009 15:32:57 +0000
(15:32 +0000)
It used to do "return undefined" to return IO a.
GHC/Conc.lhs
patch
|
blob
|
history
diff --git
a/GHC/Conc.lhs
b/GHC/Conc.lhs
index
d152815
..
cd501e1
100644
(file)
--- a/
GHC/Conc.lhs
+++ b/
GHC/Conc.lhs
@@
-1269,8
+1269,8
@@
foreign import ccall unsafe "sizeof_fd_set"
#endif
-reportStackOverflow :: IO a
-reportStackOverflow = do callStackOverflowHook; return undefined
+reportStackOverflow :: IO ()
+reportStackOverflow = callStackOverflowHook
reportError :: SomeException -> IO ()
reportError ex = do