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

GHC ghc-devs at haskell.org
Sat Oct 1 04:24:18 UTC 2016


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

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

 In [changeset:"9e862765ffe161da8a4fd9cd67b0a600874feaa9/ghc"
 9e862765/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="9e862765ffe161da8a4fd9cd67b0a600874feaa9"
 Implement deriving strategies

 Allows users to explicitly request which approach to `deriving` to use
 via keywords, e.g.,

 ```
 newtype Foo = Foo Bar
   deriving Eq
   deriving stock    Ord
   deriving newtype Show
 ```

 Fixes #10598. Updates haddock submodule.

 Test Plan: ./validate

 Reviewers: hvr, kosmikus, goldfire, alanz, bgamari, simonpj, austin,
 erikd, simonmar

 Reviewed By: alanz, bgamari, simonpj

 Subscribers: thomie, mpickering, oerjan

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

 GHC Trac Issues: #10598
 }}}

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


More information about the ghc-tickets mailing list