[GHC] #12144: GHC panic when using DeriveAnyClass with functor-like class and datatype with a type variable in a contravariant position

GHC ghc-devs at haskell.org
Thu Aug 25 14:19:20 UTC 2016


#12144: GHC panic when using DeriveAnyClass with functor-like class and datatype
with a type variable in a contravariant position
-------------------------------------+-------------------------------------
        Reporter:  RyanGlScott       |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.2.1
       Component:  Compiler          |              Version:  8.0.1
      Resolution:                    |             Keywords:  Generics
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Compile-time      |  Unknown/Multiple
  crash                              |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #5462, #7346,     |  Differential Rev(s):
  #12423                             |
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by RyanGlScott):

 * related:  #5462, #7346 => #5462, #7346, #12423


Comment:

 See also #12423, which throws a very similar panic (but for a slightly
 more sensible reason).

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


More information about the ghc-tickets mailing list