#12245: Deriving Data at higher kinds -------------------------------------+------------------------------------- Reporter: simonpj | Owner: simonpj Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 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 Simon Peyton Jones <simonpj@…>): In [changeset:"895eefa8447a2886e77fdedcbca8047263c88db7/ghc" 895eefa8/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="895eefa8447a2886e77fdedcbca8047263c88db7" Make unique auxiliary function names in deriving In deriving for Data, we make some auxiliary functions, but they didn't always get distinct names (Trac #12245). This patch fixes it by using the same mechanism as for dictionary functions, namely chooseUniqueOccTc. Some assocated refactoring came along for the ride. }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12245#comment:3> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler