[GHC] #1012: ghc panic with mutually recursive modules and template haskell

GHC ghc-devs at haskell.org
Sat Mar 19 02:49:11 UTC 2016


#1012: ghc panic with mutually recursive modules and template haskell
-------------------------------------+-------------------------------------
        Reporter:  guest             |                Owner:
            Type:  bug               |               Status:  new
        Priority:  lowest            |            Milestone:
       Component:  Template Haskell  |              Version:  6.8.2
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
                                     |  TH_import_loop
      Blocked By:                    |             Blocking:
 Related Tickets:  #9032             |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by mgsloan):

 * cc: mgsloan (added)


Comment:

 I just ran into this as well.  There is a fairly generic usecase that
 requires this: defining TH that generates instances of a class, and then
 using that TH to generate non-orphan instances.  Pretty much the same as
 the usecase Richard outlines above.

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


More information about the ghc-tickets mailing list