
#14579: GeneralizedNewtypeDeriving produces ambiguously-kinded code -------------------------------------+------------------------------------- Reporter: RyanGlScott | Owner: (none) Type: bug | Status: patch Priority: normal | Milestone: Component: Compiler (Type | Version: 8.2.2 checker) | Resolution: | Keywords: deriving Operating System: Unknown/Multiple | Architecture: Type of failure: GHC rejects | Unknown/Multiple valid program | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D4264 Wiki Page: | -------------------------------------+------------------------------------- Comment (by RyanGlScott): I think it would be worthwhile to investigate this issue further (probably in another Trac ticket). My gut feeling is that Phab:D4264 is simple enough that we can adopt it without too much worry—worst comes to worst, we can scrap the current implementation of `typeToLHsType` in favor of something simpler later. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14579#comment:8 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler