[GHC] #8987: TH: panic in reportWarning when the message throws an exception

GHC ghc-devs at haskell.org
Tue Apr 15 11:42:05 UTC 2014


#8987: TH: panic in reportWarning when the message throws an exception
---------------------------------------+-----------------------------------
        Reporter:  Yuras               |            Owner:
            Type:  bug                 |           Status:  patch
        Priority:  normal              |        Milestone:
       Component:  Compiler            |          Version:  7.8.1
      Resolution:                      |         Keywords:
Operating System:  Unknown/Multiple    |     Architecture:
 Type of failure:  Compile-time crash  |  Unknown/Multiple
       Test Case:                      |       Difficulty:  Unknown
        Blocking:                      |       Blocked By:
                                       |  Related Tickets:
---------------------------------------+-----------------------------------

Comment (by Yuras):

 Replying to [comment:6 simonpj]:
 > Looks great.  But where is `Note [Exceptions in TH]`?  If you could just
 add that, it'd be great.

 It is already here, 50 lines above. It perfectly explains how TH handles
 exceptions, I have little to nothing to add.

 I don't think we need special Note about `qReport`, but I added few lines
 to an existent Note. But I'm not sure it worth adding, the notes are
 pretty clear already.

 Let me know if prefer one patch, combining all the 3 attached.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8987#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list