hGetContents leads to late/silent failures
I have the same problem described in the closed ticket #9236 (closed)
This is a test-case https://github.com/massimo-zaniboni/ghc_lazy_file_content_error
I tried with ghc 7.10.3 and 8.0.1
Trac metadata
| Trac field | Value |
|---|---|
| Version | 8.0.1 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Core Libraries |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | ekmett, massimo.zaniboni |
| Operating system | |
| Architecture |