[GHC] #10598: DeriveAnyClass and GND don't work well together

GHC ghc-devs at haskell.org
Fri Dec 9 22:03:58 UTC 2016


#10598: DeriveAnyClass and GND don't work well together
-------------------------------------+-------------------------------------
        Reporter:  osa1              |                Owner:  RyanGlScott
            Type:  bug               |               Status:  closed
        Priority:  normal            |            Milestone:  8.2.1
       Component:  Compiler          |              Version:  7.11
      Resolution:  fixed             |             Keywords:  Generics
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
                                     |  deriving/should_run/T10598_bug
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D2280
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"5349d648fd7af3f50953e8594b3d148ab073017f/ghc"
 5349d648/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="5349d648fd7af3f50953e8594b3d148ab073017f"
 Rename TH constructors for deriving strategies

 After talking to Richard, he and I concluded that choosing the rather
 common name `Newtype` to represent the corresponding deriving strategy
 in Template Haskell was a poor choice of name. I've opted to rename it
 to something less common (`NewtypeStrategy`) while we still have time. I
 also renamed the corrsponding datatype in the GHC internals so as to
 match it.

 Reviewers: austin, goldfire, hvr, bgamari

 Reviewed By: bgamari

 Subscribers: thomie, mpickering

 Differential Revision: https://phabricator.haskell.org/D2814

 GHC Trac Issues: #10598
 }}}

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


More information about the ghc-tickets mailing list