|
Re: stdout handle is finalized: msg#00042lang.haskell.glasgow.bugs
Daan Leijen wrote: I have a rather large program, and Ok, I have found the problem -- even though I think this is still a bug in ghc. What happened: - an exception was raised with (lazy) error message - the catch handler used putStr to print the message - the evaluation of the message failed because a pattern didn't match ... so, I guess GHC raised an (pattern match) error again, but somehow not the pattern match error, but a Handle error ?! Ha, probably, putStr is wrapped itself in an "catch" and the handler there doesn't inspect the raised the error but always raises a "handle is finalized" message ??? I hope this helps, -- Daan Leijen.
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | stdout handle is finalized, Daan Leijen |
|---|---|
| Next by Date: | [ ghc-Bugs-1075259 ] Wrong overlapped pattern warning for n+k Pattern, SourceForge.net |
| Previous by Thread: | stdout handle is finalized, Daan Leijen |
| Next by Thread: | RE: stdout handle is finalized, Simon Marlow |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |