[GHC] #15481: TH fails to recover from reifyFixity with -fexternal-interpreter

GHC ghc-devs at haskell.org
Wed Sep 26 14:14:55 UTC 2018


#15481: TH fails to recover from reifyFixity with -fexternal-interpreter
-------------------------------------+-------------------------------------
        Reporter:  RyanGlScott       |                Owner:  simonmar
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.8.1
       Component:  Template Haskell  |              Version:  8.4.3
      Resolution:                    |             Keywords:  RemoteGHCi
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by simonmar):

 * owner:  (none) => simonmar


Comment:

 It looks like the external-interpreter implementation of `qRecover` only
 runs the handler in the exception case, not in the case where an error was
 added with `addErrTcM`. Probably just a misunderstanding on my part of how
 it was supposed to work. I'll see if I can fix this.

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


More information about the ghc-tickets mailing list