[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
Fri Feb 10 21:25:23 UTC 2017


#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:  closed
        Priority:  normal            |            Milestone:  8.2.1
       Component:  Compiler          |              Version:  8.0.1
      Resolution:  fixed             |             Keywords:  Generics
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Compile-time      |            Test Case:
  crash                              |  tests/deriving/should_compile/T12144_1,
                                     |  tests/deriving/should_compile/T12144_2
      Blocked By:                    |             Blocking:
 Related Tickets:  #5462, #7346,     |  Differential Rev(s):  Phab:D2961
  #12423                             |
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by RyanGlScott):

 * status:  patch => closed
 * testcase:   =>
     tests/deriving/should_compile/T12144_1,
     tests/deriving/should_compile/T12144_2
 * resolution:   => fixed


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


More information about the ghc-tickets mailing list