#1265: Template Haskell fail Messages not Getting Through
------------------------------+---------------------------------------------
Reporter: [EMAIL PROTECTED] | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 6.8
Component: Template Haskell | Version: 6.6
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Architecture: Unknown
Os: Unknown |
------------------------------+---------------------------------------------
Comment (by [EMAIL PROTECTED]):
I sent the aforementioned patches to the cvs-ghc mailing list (i.e., the
ones that achieve the desired result through changing the fail
implementation for the Q monad to first log the message and the associated
exception handling code).
However, I wanted to note that, with regard to IOEnv eating the fail
messages, I grepped the source code for fail, looked at the context of all
the uses, and found no explicit uses of IOEnv's fail. By my
understanding, that leaves possible pattern match failures on <- in a do
as the only use of IOEnv's fail outside of TH code.
Perhaps IOEnv's fail should be changed to not eat the message?
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1265>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs