[GHC] #12222: ghc panic kindFunResult with template haskell 'isInstance'

GHC ghc-devs at haskell.org
Wed Jul 6 10:13:38 UTC 2016


#12222: ghc panic kindFunResult with template haskell 'isInstance'
-------------------------------------+-------------------------------------
        Reporter:  ghorn             |                Owner:
            Type:  bug               |               Status:  closed
        Priority:  normal            |            Milestone:
       Component:  Template Haskell  |              Version:  7.10.3
      Resolution:  duplicate         |             Keywords:  kindFunResult
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Compile-time      |  Unknown/Multiple
  crash                              |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #11694            |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by thomie):

 * status:  new => closed
 * resolution:   => duplicate
 * related:   => #11694


Comment:

 This bug is fixed in 8.0.

 To make your code work with 8.0, you will have to make the following
 change to `TH.hs` (see also [wiki:Migration/8.0]):
 {{{
 - go (TyConI (DataD [] _ _ [(NormalC _ [(_,typ)])] _)) = do
 + go (TyConI (DataD [] _ _ _ [(NormalC _ [(_,typ)])] _)) = do
 }}}

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


More information about the ghc-tickets mailing list