
#10487: DeriveGeneric breaks when the same data name is used in different modules -------------------------------------+------------------------------------- Reporter: andreas.abel | Owner: osa1 Type: bug | Status: new Priority: highest | Milestone: 7.12.1 Component: Compiler | Version: 7.10.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: Phab:D1081 -------------------------------------+------------------------------------- Comment (by osa1): I don't think they're user visible, because for example if I load the file in GHCi I can't see those types there(although I must say I don't know how this is possible to implement, I'd expect everything in that module to be visible). I'll have a look at `TcEnv.newDFunName`, it sounds like a great idea. Is there a ticket for the clean up task? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10487#comment:13 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler