
#16322: "deriving newtype instance" generates an infinite loop -------------------------------------+------------------------------------- Reporter: paf31 | Owner: (none) Type: bug | Status: infoneeded Priority: normal | Milestone: Component: Compiler | Version: 8.6.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by paf31): I see, thank you. My understanding of `GeneralizedNewtypeDeriving` in the presence of MPTCs was faulty then. I'm a little surprised to hear this is the intended behavior, since I find it unintuitive that adding a new type class member could change the deriving behavior of existing member, but at least now I understand what's going on here. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16322#comment:10 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler