
#12860: GeneralizedNewtypeDeriving + MultiParamTypeClasses sends typechecker into an infinite loop -------------------------------------+------------------------------------- Reporter: RyanGlScott | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler (Type | Version: 8.0.1 checker) | Keywords: FunDeps, Resolution: | deriving Operating System: Unknown/Multiple | Architecture: Type of failure: Compile-time | Unknown/Multiple performance bug | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by dfeuer): Based on rwbarton's comment:1, it seems that GND should probably reject deriving ''any'' class whose last parameter is determined by a fundep. Is there something wrong with such a rule? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12860#comment:10 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler