#5976: Panic in a user Template Haskell function is wrongly reported as a GHC
bug
---------------------------------+------------------------------------------
Reporter: SimonMeier | Owner: pcapriotti
Type: bug | Status: patch
Priority: normal | Milestone: 7.4.2
Component: Compiler | Version: 7.4.1
Resolution: | Keywords:
Os: Linux | Architecture: Unknown/Multiple
Failure: Compile-time crash | Difficulty: Unknown
Testcase: | Blockedby:
Blocking: | Related:
---------------------------------+------------------------------------------
Comment(by simonpj):
Yes, fine except
* I suggest you put the `failWithTc` part into `mk_msg`, renaming it
`failWithException` or something.
* Can you add a `Note [Concealed exceptions]` in `TcSplice` that gives a
concrete example (along the lines of the test case you added) of what the
deal here is? In two years time we will have forgotten, and a concrete
example is a huge help.
Then, go ahead and commit. Thanks.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5976#comment:8>
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