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

GHC ghc-devs at haskell.org
Thu Apr 17 10:15:51 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 Simon Peyton Jones <simonpj@…>):

 In [changeset:"241c6601568969156403fde8089c97024b082de0/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="241c6601568969156403fde8089c97024b082de0"
 Make qReport force its error message before printing it

 Fixes Trac #8987.  See Note [Exceptions in TH]

 Thanks to Yuras Shumovich for doing this.
 }}}

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


More information about the ghc-tickets mailing list