[GHC] #15073: Unable to newtype derive `Prim` via DerivingStrategies

GHC ghc-devs at haskell.org
Wed May 30 20:30:56 UTC 2018


#15073: Unable to newtype derive `Prim` via DerivingStrategies
-------------------------------------+-------------------------------------
        Reporter:  fosskers          |                Owner:  (none)
            Type:  bug               |               Status:  patch
        Priority:  normal            |            Milestone:  8.6.1
       Component:  Compiler          |              Version:  8.2.2
      Resolution:                    |             Keywords:  deriving
Operating System:  Unknown/Multiple  |         Architecture:  x86_64
                                     |  (amd64)
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D4620,
       Wiki Page:                    |  Phab:D4701
-------------------------------------+-------------------------------------

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

 In [changeset:"b876c1bb5c8ccd73a203c0f94bac3cbb9c7e2d65/ghc"
 b876c1bb/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="b876c1bb5c8ccd73a203c0f94bac3cbb9c7e2d65"
 users-guide: Point out GNTD may require additional extensions

 As noted in #15073, GeneralizedNewtypeDeriving may produce code that
 uses extensions that do not directly appear in the code written by the
 user.  Make this clear in the users guide.

 [skip ci]

 Test Plan: Read it

 Reviewers: RyanGlScott

 Reviewed By: RyanGlScott

 Subscribers: fosskers, rwbarton, thomie, carter

 GHC Trac Issues: #15073

 Differential Revision: https://phabricator.haskell.org/D4701
 }}}

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


More information about the ghc-tickets mailing list