[GHC] #12814: Should GND infer an instance context when deriving method-free classes?

GHC ghc-devs at haskell.org
Thu Nov 10 16:03:52 UTC 2016


#12814: Should GND infer an instance context when deriving method-free classes?
-------------------------------------+-------------------------------------
        Reporter:  RyanGlScott       |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.2.1
       Component:  Compiler (Type    |              Version:  8.0.1
  checker)                           |
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #11369, #12810    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Simon Peyton Jones <simonpj@…>):

 In [changeset:"f05d685ae05ec293083f2fa7ec7ba057fbe64869/ghc"
 f05d685a/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="f05d685ae05ec293083f2fa7ec7ba057fbe64869"
 Refactoring of mkNewTypeEqn

 The refactoring here is very small.  I did it while studying
 Trac #12814.

 To implement the change in #12814, we can just un-comment the
 lines at line 1275.  It's ready to go but I didn't want to pull
 the trigger in this commit
 }}}

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


More information about the ghc-tickets mailing list