[GHC] #9766: Use TypeLits in the meta-data encoding of GHC.Generics

GHC ghc-devs at haskell.org
Thu Jun 2 18:59:08 UTC 2016


#9766: Use TypeLits in the meta-data encoding of GHC.Generics
-------------------------------------+-------------------------------------
        Reporter:  dreixel           |                Owner:  kosmikus
            Type:  task              |               Status:  closed
        Priority:  normal            |            Milestone:  8.0.1
       Component:  Compiler          |              Version:  7.9
      Resolution:  fixed             |             Keywords:  Generics
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:  9043
 Related Tickets:  #9043             |  Differential Rev(s):  Phab:D493
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Ryan Scott <ryan.gl.scott@…>):

 In [changeset:"dad39ff04a6585ab9cf3a2572ea922e309e6385f/ghc" dad39ff/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="dad39ff04a6585ab9cf3a2572ea922e309e6385f"
 Remove dead generics-related code from OccName

 Before #9766 was fixed, GHC would generate auxiliary datatypes for every
 Generic instance, and it would use functions from OccName to prefix the
 generated names. GHC no longer generates any auxiliary datatypes for
 Generic instances, but the accompanying code was never removed from
 OccName (until now).
 }}}

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


More information about the ghc-tickets mailing list