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

GHC ghc-devs at haskell.org
Thu Jan 31 09:26:55 UTC 2019


#14579: GeneralizedNewtypeDeriving produces ambiguously-kinded code
-------------------------------------+-------------------------------------
        Reporter:  RyanGlScott       |                Owner:  (none)
            Type:  bug               |               Status:  patch
        Priority:  normal            |            Milestone:  8.10.1
       Component:  Compiler (Type    |              Version:  8.2.2
  checker)                           |
      Resolution:                    |             Keywords:  deriving
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  GHC rejects       |            Test Case:
  valid program                      |  deriving/should_compile/T14579{a}
      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 simonpj):

 To be clear
 * Phab:D4264 has landed (comment:9)
 * Phab:D5229 has landed (comment:19)

 So the only remaining issue is
 [https://gitlab.haskell.org/ghc/ghc/merge_requests/261 MR 261] "Fix #14579
 by defining tyConAppNeedsKindSig, and using it"

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


More information about the ghc-tickets mailing list