[GHC] #10561: "deriving (Functor)" on a polykinded type produces ill-kinded instance

GHC ghc-devs at haskell.org
Thu Jul 9 14:04:22 UTC 2015


#10561: "deriving (Functor)" on a polykinded type produces ill-kinded instance
-------------------------------------+-------------------------------------
        Reporter:  rwbarton          |                   Owner:
            Type:  bug               |                  Status:  closed
        Priority:  normal            |               Milestone:
       Component:  Compiler          |                 Version:  7.11
      Resolution:  fixed             |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  None/Unknown      |  Unknown/Multiple
      Blocked By:                    |               Test Case:
 Related Tickets:                    |  deriving/should_compile/T10561
                                     |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------
Changes (by simonpj):

 * status:  new => closed
 * testcase:   => deriving/should_compile/T10561
 * resolution:   => fixed


Comment:

 This patch makes GHC complain before generating ill-kinded code via
 `deriving`.

 #10524 contains the remaining open issue.

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


More information about the ghc-tickets mailing list