[GHC] #14579: GeneralizedNewtypeDeriving produces ambiguously-kinded code

GHC ghc-devs at haskell.org
Mon Mar 4 18:51:00 UTC 2019


#14579: GeneralizedNewtypeDeriving produces ambiguously-kinded code
-------------------------------------+-------------------------------------
        Reporter:  RyanGlScott       |                Owner:  (none)
            Type:  bug               |               Status:  closed
        Priority:  normal            |            Milestone:  8.10.1
       Component:  Compiler (Type    |              Version:  8.2.2
  checker)                           |
      Resolution:  fixed             |             Keywords:  deriving
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  GHC rejects       |            Test Case:
  valid program                      |  deriving/should_compile/T14579{a,b}
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D4264,
                                     |  Phab:D5229,
       Wiki Page:                    |  https://gitlab.haskell.org/ghc/ghc/merge_requests/261
-------------------------------------+-------------------------------------

Comment (by Ryan Scott <ryan.gl.scott@…>):

 In [changeset:"e88e083d62389d5c8d082a25395a3d933ab2f03b/ghc" e88e083/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="e88e083d62389d5c8d082a25395a3d933ab2f03b"
 Fix #14579 by defining tyConAppNeedsKindSig, and using it
 }}}

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


More information about the ghc-tickets mailing list