[GHC] #11357: Regression when deriving Generic1 on poly-kinded data family

GHC ghc-devs at haskell.org
Wed Mar 16 01:17:17 UTC 2016


#11357: Regression when deriving Generic1 on poly-kinded data family
-------------------------------------+-------------------------------------
        Reporter:  RyanGlScott       |                Owner:  goldfire
            Type:  bug               |               Status:  new
        Priority:  highest           |            Milestone:  8.0.1
       Component:  Compiler          |              Version:  7.11
  (CodeGen)                          |             Keywords:  Generics,
      Resolution:                    |  TypeInType, TypeFamilies
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  GHC rejects       |  Unknown/Multiple
  valid program                      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Richard Eisenberg <eir@…>):

 In [changeset:"1eefedf7371778d1721d9af9247c2eff12ae7417/ghc"
 1eefedf7/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="1eefedf7371778d1721d9af9247c2eff12ae7417"
 Fix #11357.

 We were looking at a data instance tycon for visibility info,
 which is the wrong place to look. Look at the data family tycon
 instead.

 Also improved the pretty-printing near there to suppress kind
 arguments when appropriate.
 }}}

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


More information about the ghc-tickets mailing list