[GHC] #10487: DeriveGeneric breaks when the same data name is used in different modules

GHC ghc-devs at haskell.org
Sun Jun 14 20:01:27 UTC 2015


#10487: DeriveGeneric breaks when the same data name is used in different modules
-------------------------------------+-------------------------------------
        Reporter:  andreas.abel      |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  Compiler          |                 Version:  7.10.1
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  None/Unknown      |  Unknown/Multiple
      Blocked By:                    |               Test Case:
 Related Tickets:                    |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by dreixel):

 I'm afraid this is due to the simplistic way in which the names for the
 helper datatypes of the representation are generated. Should be easy to
 fix, though.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10487#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list