[GHC] #4863: TH crashes if you reify the Name of a dfun

GHC ghc-devs at haskell.org
Fri Nov 6 11:37:47 UTC 2015


#4863: TH crashes if you reify the Name of a dfun
-------------------------------------+-------------------------------------
        Reporter:  guest             |                Owner:  simonpj
            Type:  bug               |               Status:  new
        Priority:  low               |            Milestone:  ⊥
       Component:  Template Haskell  |              Version:  7.0.1
      Resolution:                    |             Keywords:
Operating System:  Linux             |         Architecture:  x86_64
 Type of failure:  Compile-time      |  (amd64)
  crash                              |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by jstolarek):

 * cc: goldfire, jstolarek (added)


Comment:

 Is this problem still present in the current implementation of TH?
 `classInstances` (now: `reifyInstances`) returns a proper list of instance
 declarations. I don't see any `Name`s inside `InstanceD` constructor so
 I'm not sure if there's anything more to reify after calling
 `reifyInstance`?

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


More information about the ghc-tickets mailing list