runghc leaks space in IO
runghc mysteriously uses memory to perform IO.
main = forever $ return ()
main = sequence_ $ repeat $ return ()
main = mapM_ print [0..]
-- et al.
I have encountered this bug with 7.4.2 on Windows and linux, and 7.6.1 on linux.
This only seems to happen with runghc, not with ghci or ghc -e.
I don't know what Component contains runghc, so I have left it blank for now.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 7.6.1 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | None |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |